rbrindley: branch 2.0 r4867 - /branches/2.0/config/js/trunks_analog.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Jun 15 08:51:17 CDT 2009


Author: rbrindley
Date: Mon Jun 15 08:51:14 2009
New Revision: 4867

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4867
Log:

- updated the cache for custom callerid fields when editing


Modified:
    branches/2.0/config/js/trunks_analog.js

Modified: branches/2.0/config/js/trunks_analog.js
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/js/trunks_analog.js?view=diff&rev=4867&r1=4866&r2=4867
==============================================================================
--- branches/2.0/config/js/trunks_analog.js (original)
+++ branches/2.0/config/js/trunks_analog.js Mon Jun 15 08:51:14 2009
@@ -306,8 +306,10 @@
 	});
 
 	if ($('#dummy_callerid').val() == 'asreceived') {
+		parent.sessionData.pbxinfo['trunks']['analog'][EDIT_TRUNK]['callerid'] = 'asreceived';
 		x.new_action('update', EDIT_TRUNK, 'callerid', 'asreceived');
 	} else {
+		parent.sessionData.pbxinfo['trunks']['analog'][EDIT_TRUNK]['callerid'] = $('#dummy_customCid').val();
 		x.new_action('update', EDIT_TRUNK, 'callerid', $('#dummy_customCid').val());
 	}
 




More information about the asterisk-gui-commits mailing list