pari: branch asterisknow r2135 - /branches/asterisknow/config/digital.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Jan 11 20:48:18 CST 2008
Author: pari
Date: Fri Jan 11 20:48:18 2008
New Revision: 2135
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2135
Log:
A better way to show the alert box
Modified:
branches/asterisknow/config/digital.html
Modified: branches/asterisknow/config/digital.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/digital.html?view=diff&rev=2135&r1=2134&r2=2135
==============================================================================
--- branches/asterisknow/config/digital.html (original)
+++ branches/asterisknow/config/digital.html Fri Jan 11 20:48:18 2008
@@ -771,7 +771,7 @@
// inform the user to restart
_$('status_message').style.display="none";
parent.REQUIRE_RESTART = (HAS_ANALOGHARDWARE || HAS_DIGITALHARDWARE)? true : false;
- //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.
+ if(parent.REQUIRE_RESTART){ alert("You need to restart your machine for these settings to take effect"); }
window.location.href= "digital.html";
});
};
More information about the asterisk-gui-commits
mailing list