bkruse: trunk r1557 - in /trunk: ./ config/menus.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Sun Sep 9 03:44:44 CDT 2007
Author: bkruse
Date: Sun Sep 9 03:44:43 2007
New Revision: 1557
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1557
Log:
Merged revisions 1556 via svnmerge from
https://origsvn.digium.com/svn/asterisk-gui/branches/1.4
........
r1556 | bkruse | 2007-09-09 03:44:15 -0500 (Sun, 09 Sep 2007) | 9 lines
Fixed a couple of bugs with the default
context include (once you delete a rule,
then try to highlight one, the context is
not found, and therefore errors our)
(closes issue #10525)
Thank you quitespy for sticking with me
through this, and providing feedback!
It really works now :]
........
Modified:
trunk/ (props changed)
trunk/config/menus.html
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=1557&r1=1556&r2=1557
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Sun Sep 9 03:44:43 2007
@@ -283,6 +283,7 @@
var _vmv = _$('vmenus').value ;
var _nsa = _$('newstep_action');
var _nsv = _$('newstep_var') ;
+ var _combo_sel = _$('combosel_sounds');
if( !_nsa.value ){
gui_alert("Please select an action for this step");
@@ -290,7 +291,7 @@
return;
}
- if( _nsa.value != "Answer" && _nsa.value != "GotoDirecotry" && _nsa.value != "Busy" && _nsa.value != "Hangup" && _nsa.value != "Congestion" && !_nsv.value ){
+ if( _nsa.value != "Answer" && _nsa.value != "GotoDirecotry" && _nsa.value != "Busy" && _nsa.value != "Hangup" && _nsa.value != "Congestion" && _nsa.value != "Background" && _nsa.value != "Playback" && !_nsv.value ){
if( _nsa.value.toLowerCase() == "dialringgroup" ){
if(!_$('rgrp').options.length ){
@@ -330,7 +331,7 @@
action_string = "s,"+ newpriority+ ",DISA(" + _nsv.value + ")";
break;
case 'Background':
- action_string = "s,"+ newpriority+ ",Background(" + _nsv.value + ")";
+ action_string = "s,"+ newpriority+ ",Background(" + _combo_sel.value + ")";
break;
case 'Busy':
action_string = "s,"+ newpriority+ ",Busy";
@@ -345,7 +346,7 @@
action_string = "s,"+ newpriority+ ",Set(TIMEOUT(response)=" + _nsv.value + ")";
break;
case 'Playback':
- action_string = "s,"+ newpriority+ ",Playback(" + _nsv.value + ")";
+ action_string = "s,"+ newpriority+ ",Playback(" + _combo_sel.value + ")";
break;
case 'Wait':
action_string = "s,"+ newpriority+ ",Wait(" + _nsv.value + ")";
@@ -745,8 +746,13 @@
current_context = _$('vmenus').value;
var x, y, tmp;
var priority_1, priority_2, buffer;
-
- _$('allowexten').checked = (voicemenusdata[current_context].include == "default") ? true : false ;
+
+ if(voicemenusdata[current_context]) {
+ _$('allowexten').checked = (voicemenusdata[current_context].include == "default") ? true : false ;
+ } else {
+ _$('allowexten').checked = false;
+ }
+
//$('keypressoptions').innerHTML = "";
_steps.options.length =0;
_$('comment').value = voicemenusdata[current_context].comment;
More information about the asterisk-gui-commits
mailing list