rbrindley: branch 2.0 r4970 - /branches/2.0/config/js/pbx2.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Jul 13 11:18:50 CDT 2009


Author: rbrindley
Date: Mon Jul 13 11:18:47 2009
New Revision: 4970

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

- since we're already adding host, delete it from info in case it exists


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

Modified: branches/2.0/config/js/pbx2.js
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/config/js/pbx2.js?view=diff&rev=4970&r1=4969&r2=4970
==============================================================================
--- branches/2.0/config/js/pbx2.js (original)
+++ branches/2.0/config/js/pbx2.js Mon Jul 13 11:18:47 2009
@@ -1874,6 +1874,7 @@
 
 	if (info.hasOwnProperty('hassip') && info['hassip'].isAstTrue()) {
 		x.new_action('append', exten, 'host', 'dynamic');
+		delete info['host'];
 	}
 
 	for (var prop in info) {




More information about the asterisk-gui-commits mailing list