espiceland: trunk r5209 - /trunk/config/js/sip.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri May 13 13:01:07 CDT 2011


Author: espiceland
Date: Fri May 13 13:01:04 2011
New Revision: 5209

URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5209
Log:
disallowed should be defined as an empty array, not a boolean.

Modified:
    trunk/config/js/sip.js

Modified: trunk/config/js/sip.js
URL: http://svnview.digium.com/svn/asterisk-gui/trunk/config/js/sip.js?view=diff&rev=5209&r1=5208&r2=5209
==============================================================================
--- trunk/config/js/sip.js (original)
+++ trunk/config/js/sip.js Fri May 13 13:01:04 2011
@@ -58,7 +58,7 @@
 		var val = ( c[fld] ) ? c[fld] : '';
 		AU(fld,val) ;
 	});
-	var disallowed = false;
+	var disallowed = [];
 	var real_codecs;
 	ASTGUI.CODECSLIST.populateCodecsList(_$('allow'));
 	if( c.hasOwnProperty('allow') ){ real_codecs = c['allow']; }




More information about the asterisk-gui-commits mailing list