pari: branch asterisknow r2129 - /branches/asterisknow/config/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Jan 11 12:23:45 CST 2008
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";
});
};
More information about the asterisk-gui-commits
mailing list