bkruse: branch asterisknow r1605 - /branches/asterisknow/config/trunks.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Sep 14 17:15:50 CDT 2007


Author: bkruse
Date: Fri Sep 14 17:15:50 2007
New Revision: 1605

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1605
Log:
fix for trunks

Modified:
    branches/asterisknow/config/trunks.html

Modified: branches/asterisknow/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/trunks.html?view=diff&rev=1605&r1=1604&r2=1605
==============================================================================
--- branches/asterisknow/config/trunks.html (original)
+++ branches/asterisknow/config/trunks.html Fri Sep 14 17:15:50 2007
@@ -627,6 +627,11 @@
 function localajaxinit() {
 	ASTGUI.events.add(document, 'mouseover', show_tooltip);
 
+	for(var x=0; x < opt_userandpass; x++) {
+		ASTGUI.events.add( _$(opt_userandpass[x]) , "focus", function() { _$('save').disabled = false; _$('cancel').disabled = false;});
+	}
+	ASTGUI.events.add( _$('ip') , "focus", function() { _$('save').disabled = false; _$('cancel').disabled = false;});
+	ASTGUI.events.add( _$('voip_ip') , "focus", function() { _$('save').disabled = false; _$('cancel').disabled = false;});
 	ASTGUI.events.add( _$('customvoip_name') , 'change' , function(){ _$('trunkname').value = _$('customvoip_name').value; } );
 	ASTGUI.events.add( _$('customvoip_protocol') , 'change' , function(){ 
 		if(_$('customvoip_protocol').value == "sip"){ _$('hassip').value = 'yes'; _$('hasiax').value = 'no';  }




More information about the asterisk-gui-commits mailing list