[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-gui-commits
Subject:    pari: branch asterisknow r2129 - /branches/asterisknow/config/
From:       SVN commits to the Asterisk-GUI project
Date:       2008-01-11 18:23:45
Message-ID: 20080111182345.C563CA9DF61 () lists ! digium ! internal
[Download RAW message or body]

Author: pari
Date: Fri Jan 11 12:23:45 2008
New Revision: 2129

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2129
Log:
reset flag after informing the user about required reboot 





Modified:
    branches/asterisknow/config/cfgbasic.html
    branches/asterisknow/config/digital.html

Modified: branches/asterisknow/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgbasic.html?view=diff&rev=2129&r1=2128&r2=2129
 ==============================================================================
--- branches/asterisknow/config/cfgbasic.html (original)
+++ branches/asterisknow/config/cfgbasic.html Fri Jan 11 12:23:45 2008
@@ -353,6 +353,7 @@
 		astmanEngine.cliCommand('reload', function(t){ gui_feedback("Restarted Asterisk \
!!",'blue');   if(REQUIRE_RESTART == true){
 				alert('The changes you made requires a restart.\n' + 'Your hardware might not \
work properly until you reboot !!'); +				REQUIRE_RESTART = false;
 			}
 		}); // then reload asterisk
 	//});

Modified: branches/asterisknow/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/digital.html?view=diff&rev=2129&r1=2128&r2=2129
 ==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Fri Jan 11 12:23:45 2008
@@ -710,7 +710,8 @@
 			makerequest('u', hwcfgfile, uri , function(t) {
 				// inform the user to restart
 				_$('status_message').style.display="none";
-				alert("You need to restart your machine for these settings to take effect");
+				parent.REQUIRE_RESTART = true; 
+				//alert("You need to restart your machine for these settings to take effect"); \
// the user needs to click 'apply settings' in the main screen anyway - so this would \
be a duplicate alert message.  window.location.href= "digital.html";
 			});
 		};


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-gui-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-gui-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic