pari: trunk r538 - /trunk/config/menus.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Mar 28 23:18:53 MST 2007


Author: pari
Date: Thu Mar 29 01:18:52 2007
New Revision: 538

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=538
Log:
fix for http://bugs.digium.com/view.php?id=9409

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=538&r1=537&r2=538
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Thu Mar 29 01:18:52 2007
@@ -57,8 +57,8 @@
 		temp[2] = temp[2].replace(/\)/, "");
 		return "Wait '"+ temp[2] +"' sec for KeyPress";
 	}
-	if( temp[2].match("ResponseTimeout") ){
-		temp[2] = temp[2].replace(/ResponseTimeout\(/, "");
+	if( temp[2].match("TIMEOUT") ){
+		temp[2] = temp[2].replace(/Set\(TIMEOUT\(response\)\=/, "");
 		temp[2] = temp[2].replace(/\)/, "");
 		return "Response Timeout to '" + temp[2] + "' sec";
 	}
@@ -339,7 +339,7 @@
 		action_string = "s,"+ newpriority+ ",DigitTimeout(" + _nsv.value + ")";
 		break;
 	case 'ResponseTimeout':
-		action_string = "s,"+ newpriority+ ",ResponseTimeout(" + _nsv.value + ")";
+		action_string = "s,"+ newpriority+ ",Set(TIMEOUT(response)=" + _nsv.value + ")";
 		break;
 	case 'Playback':
 		action_string = "s,"+ newpriority+ ",Playback(" + _nsv.value + ")";



More information about the asterisk-gui-commits mailing list