pari: branch 2.0 r3663 - /branches/2.0/config/menus.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Aug 13 21:59:33 CDT 2008
Author: pari
Date: Wed Aug 13 21:59:31 2008
New Revision: 3663
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3663
Log:
Fix for ´ AA50-2223 - Custom Voicemenus option no longer present in new gui ´
Adding Custom Step option in Voicemenus
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=3663&r1=3662&r2=3663
==============================================================================
--- branches/2.0/config/menus.html (original)
+++ branches/2.0/config/menus.html Wed Aug 13 21:59:31 2008
@@ -290,6 +290,11 @@
_$('newstep_dial_ThisNumber').value = '';
_$('newstep_dial_ViaTrunk').selectedIndex = -1 ;
break;
+ case 'CustomApp':
+ lbl('Custom App');
+ $('#newstep_custom').show();
+ tip_chosenStep.innerHTML = 'Add a <i>Custom Step</i> to the VoiceMenu';
+ break;
default:
break;
}
@@ -369,6 +374,9 @@
case 'DialViaTrunk':
var tmp_trunkName = ASTGUI.getFieldValue('newstep_dial_ViaTrunk');
newstep = 'Macro('+ ASTGUI.contexts.dialtrunks + ',${' + tmp_trunkName + '}/'+ ASTGUI.getFieldValue('newstep_dial_ThisNumber') +',,'+ tmp_trunkName + ',)' ;
+ break;
+ case 'CustomApp':
+ newstep = ASTGUI.getFieldValue('newstep_custom') ;
break;
default:
break;
@@ -799,6 +807,7 @@
<option value="setLanguage">Set Language</option>
<option value="GotoDirecotry">Goto Directory</option>
<option value="DialViaTrunk">Dial a Number via Trunk</option>
+ <option value="CustomApp">Custom App</option>
<!-- <option value="CheckOwnVoiceMail">Check Voicemail for Own Extension</option>-->
<option value="Hangup">Hangup</option>
</select>
@@ -818,6 +827,7 @@
<option value='es'>Spanish</option>
<option value='fr'>French</option>
</select>
+ <input class='class_newStep_details_td' id="newstep_custom" size=24>
<input class='class_newStep_details_td' id="newstep_dial_ThisNumber" size=10>
<select class='class_newStep_details_td' id="newstep_dial_ViaTrunk"></select>
</td>
More information about the asterisk-gui-commits
mailing list