pari: branch 2.0 r3837 - /branches/2.0/config/followme.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Sep 18 15:07:06 CDT 2008


Author: pari
Date: Thu Sep 18 15:07:05 2008
New Revision: 3837

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3837
Log:

 For FollowMe, choose the user's context by default



Modified:
    branches/2.0/config/followme.html

Modified: branches/2.0/config/followme.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/followme.html?view=diff&rev=3837&r1=3836&r2=3837
==============================================================================
--- branches/2.0/config/followme.html (original)
+++ branches/2.0/config/followme.html Thu Sep 18 15:07:05 2008
@@ -143,7 +143,7 @@
 					line = line.lChop('number=') ;
 					// var fl_number = line.split(',')[0] ;
 					// var fl_seconds = line.split(',')[1];
-					tmp_followorder.push( line.split(',')[0] );
+					tmp_followorder.push( line.split(',')[0].split('&').join(' & ') );
 				}
 			});
 			tmp_followorder = tmp_followorder.join(', ');
@@ -249,6 +249,8 @@
 
 	CURRENT_DESTINATIONS = [];
 
+	ASTGUI.updateFieldToValue('FMU_context', parent.sessionData.pbxinfo.users[EDIT_USER].getProperty('context'));
+
 	var cxt = context2json({ filename:'followme.conf' , context : EDIT_USER , usf: 0 });
 	if(!cxt){ cxt = []; }
 	for( var t =0; t < cxt.length ; t++ ){




More information about the asterisk-gui-commits mailing list