pari: trunk r561 - /trunk/config/setup/4.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Thu Mar 29 22:14:09 MST 2007
Author: pari
Date: Fri Mar 30 00:14:09 2007
New Revision: 561
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=561
Log:
bug Fix: If no service provider is selected ?
Modified:
trunk/config/setup/4.html
Modified: trunk/config/setup/4.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/setup/4.html?view=diff&rev=561&r1=560&r2=561
==============================================================================
--- trunk/config/setup/4.html (original)
+++ trunk/config/setup/4.html Fri Mar 30 00:14:09 2007
@@ -226,6 +226,10 @@
}
callbacks.beforeSaving = function(){
+ if (_$('trunkstylevoip').checked && !_$('provider').value) {
+ alert("Please select a service provider!");
+ return false;
+ }
if (_$('trunkstylevoip').checked && !_$('username').value.length ) {
alert("When using VoIP, the username must not be empty!");
return false;
More information about the asterisk-gui-commits
mailing list