pari: branch asterisknow r562 - in /branches: aadk/ aadk/config/setup/ asteri...

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Mar 29 22:16:10 MST 2007


Author: pari
Date: Fri Mar 30 00:16:10 2007
New Revision: 562

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=562
Log:
Merged revisions 561 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/trunk

........
r561 | pari | 2007-03-30 00:14:09 -0500 (Fri, 30 Mar 2007) | 1 line

bug Fix: If no service provider is selected ?
........

Modified:
    branches/aadk/   (props changed)
    branches/aadk/config/setup/4.html
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/setup/4.html

Propchange: branches/aadk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Mar 30 00:16:10 2007
@@ -1,1 +1,1 @@
-/trunk:1-430,433-448,501,505,512,519,532,536,538,543,545,547,549,551,553,555
+/trunk:1-430,433-448,501,505,512,519,532,536,538,543,545,547,549,551,553,555,561

Modified: branches/aadk/config/setup/4.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/setup/4.html?view=diff&rev=562&r1=561&r2=562
==============================================================================
--- branches/aadk/config/setup/4.html (original)
+++ branches/aadk/config/setup/4.html Fri Mar 30 00:16:10 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;

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Fri Mar 30 00:16:10 2007
@@ -1,1 +1,1 @@
-/trunk:1-448,501-505,507,511-512,519,532,536,538,543,545,547,549,551,553,555
+/trunk:1-448,501-505,507,511-512,519,532,536,538,543,545,547,549,551,553,555,561

Modified: branches/asterisknow/config/setup/4.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/setup/4.html?view=diff&rev=562&r1=561&r2=562
==============================================================================
--- branches/asterisknow/config/setup/4.html (original)
+++ branches/asterisknow/config/setup/4.html Fri Mar 30 00:16:10 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