pari: branch 2.0 r4381 - in /branches/2.0/config/js: index.js welcome.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Dec 19 14:45:11 CST 2008
Author: pari
Date: Fri Dec 19 14:45:10 2008
New Revision: 4381
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4381
Log:
Save the gui version when applying changes.
Could come in handy if there are any configuration updates in future.
Modified:
branches/2.0/config/js/index.js
branches/2.0/config/js/welcome.js
Modified: branches/2.0/config/js/index.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/index.js?view=diff&rev=4381&r1=4380&r2=4381
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Fri Dec 19 14:45:10 2008
@@ -607,6 +607,10 @@
ASTGUI.cookies.removeCookie('configFilesChanged');
ASTGUI.feedback({msg:'Asterisk Reloaded !!', showfor: 3 , color: '#5D7CBA', bgcolor: '#FFFFFF'}) ;
+ if( sessionData.hasOwnProperty('gui_version') && sessionData.gui_version.trim() ){
+ ASTGUI.updateaValue({ file: ASTGUI.globals.configfile , context :'general', variable :'config_gui_version', value : sessionData.gui_version });
+ }
+
if(sessionData.PLATFORM.isAA50 ){
//TODO - Save Changes
parent.ASTGUI.systemCmd( 'save_config', function(){ if(cb){cb();} } );
Modified: branches/2.0/config/js/welcome.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/welcome.js?view=diff&rev=4381&r1=4380&r2=4381
==============================================================================
--- branches/2.0/config/js/welcome.js (original)
+++ branches/2.0/config/js/welcome.js Fri Dec 19 14:45:10 2008
@@ -958,7 +958,7 @@
};
//abstracted out because its called in manager_events.meetmeJoin & loadConferences
-addMeetmeMember = function(meetme, user_num, duration) {
+var addMeetmeMember = function(meetme, user_num, duration) {
//set duration's default value
duration = typeof(duration) != 'undefined' ? duration : 0;
More information about the asterisk-gui-commits
mailing list