pari: branch 2.0 r3874 - /branches/2.0/config/js/pbx.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Sep 24 17:06:42 CDT 2008


Author: pari
Date: Wed Sep 24 17:06:42 2008
New Revision: 3874

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3874
Log:

 This might be a safer solution for issue #13540



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

Modified: branches/2.0/config/js/pbx.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/pbx.js?view=diff&rev=3874&r1=3873&r2=3874
==============================================================================
--- branches/2.0/config/js/pbx.js (original)
+++ branches/2.0/config/js/pbx.js Wed Sep 24 17:06:42 2008
@@ -1445,7 +1445,7 @@
 		var v = new listOfSynActions('extensions.conf') ;
 		v.new_action('delcat', menu_name, '', ''); 
 		if( sessionData.pbxinfo.voicemenus[menu_name]['alias_exten'] != '' ){
-			var aext = sessionData.pbxinfo.voicemenus[menu_name]['alias_exten'].afterChar('=') ;
+			var aext = sessionData.pbxinfo.voicemenus[menu_name]['alias_exten'].lChop('exten=') ;
 			v.new_action('delete', ASTGUI.contexts.VoiceMenuExtensions , 'exten', '', aext);
 			v.new_action('delete', 'default' , 'exten', '', aext); // backward compatibility with gui 1.x
 		}




More information about the asterisk-gui-commits mailing list