pari: branch 2.0 r3858 - /branches/2.0/config/menus.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Sep 23 11:27:14 CDT 2008


Author: pari
Date: Tue Sep 23 11:27:14 2008
New Revision: 3858

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

AA50-2223 - Show 'Custom App' in Voicemenu options only in advanced mode



Modified:
    branches/2.0/config/menus.html

Modified: branches/2.0/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/menus.html?view=diff&rev=3858&r1=3857&r2=3858
==============================================================================
--- branches/2.0/config/menus.html (original)
+++ branches/2.0/config/menus.html Tue Sep 23 11:27:14 2008
@@ -732,6 +732,9 @@
 
 var localajaxinit = function(){
 	top.document.title = 'Voice Menus Configuration' ;
+	if(parent.sessionData.advancedmode == true ){
+		ASTGUI.selectbox.append('newStep_select_action', 'Custom App', 'CustomApp');
+	}
 	if( !ASTGUI.miscFunctions.alertIfRangeisNotdefined('vme_start','vme_end', 'VoiceMenus') ){
 		$('.top_buttons').hide();
 		return;
@@ -885,7 +888,6 @@
 							<option value="GotoDirecotry">Goto Directory</option>
 							<option value="DialViaTrunk">Dial a Number via Trunk</option>
 							<option value="AGI">AGI</option>
-							<option value="CustomApp">Custom App</option>
 							<option value="UserEvent">User Event</option>
 <!--							<option value="CheckOwnVoiceMail">Check Voicemail for Own Extension</option>-->
 							<option value="Hangup">Hangup</option>




More information about the asterisk-gui-commits mailing list