pari: trunk r836 - /trunk/config/menus.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Tue May 1 10:37:48 MST 2007
Author: pari
Date: Tue May 1 12:37:47 2007
New Revision: 836
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=836
Log:
Fix: GUI not properly identifying response timeout and digit timeout
Modified:
trunk/config/menus.html
Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=836&r1=835&r2=836
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Tue May 1 12:37:47 2007
@@ -58,12 +58,12 @@
temp[2] = temp[2].replace(/\)/, "");
return "Play '" + temp[2] + "' & Listen for KeyPress";
}
- if( temp[2].match("DigitTimeout") ){
+ if( temp[2].match("TIMEOUT") && temp[2].match("digit") ){
temp[2] = temp[2].replace(/Set\(TIMEOUT\(digit\)\=/, "");
temp[2] = temp[2].replace(/\)/, "");
return "Wait '"+ temp[2] +"' sec for KeyPress";
}
- if( temp[2].match("TIMEOUT") ){
+ if( temp[2].match("TIMEOUT") && temp[2].match("response") ){
temp[2] = temp[2].replace(/Set\(TIMEOUT\(response\)\=/, "");
temp[2] = temp[2].replace(/\)/, "");
return "Response Timeout to '" + temp[2] + "' sec";
More information about the asterisk-gui-commits
mailing list