bkruse: branch 1.4 r1465 - /branches/1.4/config/trunks.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Aug 28 15:58:03 CDT 2007


Author: bkruse
Date: Tue Aug 28 15:58:03 2007
New Revision: 1465

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1465
Log:
Changes that Siya mentioned. Now the gui will also
disable the digitaltrunk box when your are editing
a trunk, and its not a new trunk.
Also makes sure that the onclick event does not
get fired out when its disabled.

Modified:
    branches/1.4/config/trunks.html

Modified: branches/1.4/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/branches/1.4/config/trunks.html?view=diff&rev=1465&r1=1464&r2=1465
==============================================================================
--- branches/1.4/config/trunks.html (original)
+++ branches/1.4/config/trunks.html Tue Aug 28 15:58:03 2007
@@ -579,6 +579,9 @@
 
 	var _trunkstylecustomvoip = _$('trunkstylecustomvoip');
 	_trunkstylecustomvoip.onclick = null;
+	
+	var _trunkstyledigital = _$('trunkstyledigital');
+	_trunkstyledigital.onclick = null;
 
 	ASTGUI.events.add( _$('custom_trunkname') , 'change' , function(){ 
 		_$('name').value = _$('custom_trunkname').value;
@@ -960,6 +963,7 @@
 		_$('trunkstyleanalog').disabled = true;
 		_$('trunkstylevoip').disabled = true;
 		_$('trunkstylecustomvoip').disabled = true;
+		_$('trunkstyledigital').disabled = true;
 		_$('provider').disabled = true;
 	}
 }




More information about the asterisk-gui-commits mailing list