Author: pari
Date: Fri Jan 11 20:48:18 2008
New Revision: 2135
URL: http://svn.digium.com/view/asterisk-gui?view=rev&am
p;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/branc
hes/asterisknow/config/digital.html?view=diff&rev=2135&a
mp;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";
});
};
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--
asterisk-gui-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-g
ui-commits
|