pari: trunk r1003 - /trunk/config/timerules.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed May 30 12:05:18 MST 2007


Author: pari
Date: Wed May 30 14:05:17 2007
New Revision: 1003

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1003
Log:
Option to redirect one timerule to another

Modified:
    trunk/config/timerules.html

Modified: trunk/config/timerules.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/timerules.html?view=diff&rev=1003&r1=1002&r2=1003
==============================================================================
--- trunk/config/timerules.html (original)
+++ trunk/config/timerules.html Wed May 30 14:05:17 2007
@@ -268,6 +268,10 @@
 		for ( g=0 ; g <user_extens.length; g++){
 			ASTGUI.selectbox_push(el,user_extens[g].username,user_extens[g].usercontextstring);
 		}
+
+		for( g in timebasedrules ){ if(timebasedrules.hasOwnProperty(g)){
+			ASTGUI.selectbox_push( el, "TimeRule -- " + timebasedrules[g].rulename , TIMERULES_CATEGORY + ',' + g + ',1' );
+		}}
 	}
 
 	updateselect(_$('startime_hour'), 0,24); 



More information about the asterisk-gui-commits mailing list