pari: trunk r882 - /trunk/config/trunks.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Mon May 7 08:41:13 MST 2007


Author: pari
Date: Mon May  7 10:41:12 2007
New Revision: 882

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=882
Log:
Forgot to update used_fxos on 'deletion of trunks'

Modified:
    trunk/config/trunks.html

Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?view=diff&rev=882&r1=881&r2=882
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Mon May  7 10:41:12 2007
@@ -184,6 +184,8 @@
 callbacks.delchanges = function(box, value) {
 	deletesp_fromui(value);
 	delete_didcontext(value);
+	used_fxos.newvalue = "";
+	update_used_fxos();
 	var _hglobals = _$('hiddenglobals');
 	var oldvalue = _hglobals.stored_config.catbyname['globals'].fieldbyname[value];
 	if (oldvalue) {
@@ -917,6 +919,7 @@
 		if(_devices.options[i].value == trunk){
 			_devices.selectitem(i) ;
 			_$('delete').disabled = 0;
+			used_fxos.oldvalue = _devices.stored_config.catbyname[_devices.value].fieldbyname['zapchan'] ;
 			if( !_$('delete').click() ){ return; }
 			break;
 		}



More information about the asterisk-gui-commits mailing list