qwell: branch 2.0 r5050 - in /branches/2.0/config: ./ js/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Aug 10 16:42:44 CDT 2010
Author: qwell
Date: Tue Aug 10 16:42:37 2010
New Revision: 5050
URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5050
Log:
Revert revision 5048 and add manager reload to home.html as well.
Modified:
branches/2.0/config/features.html (props changed)
branches/2.0/config/home.html
branches/2.0/config/js/features.js (props changed)
branches/2.0/config/password.html
Propchange: branches/2.0/config/features.html
('svn:mergeinfo' removed)
Modified: branches/2.0/config/home.html
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/home.html?view=diff&rev=5050&r1=5049&r2=5050
==============================================================================
--- branches/2.0/config/home.html (original)
+++ branches/2.0/config/home.html Tue Aug 10 16:42:37 2010
@@ -167,7 +167,9 @@
}
u.new_action('update', CURRENT_Username, 'secret', newp );
u.callActions();
+
ASTGUI.feedback( { msg:"Password Updated Successfully", showfor:3 });
+ var t = ASTGUI.cliCommand('manager reload');
alert("Password Updated Successfully!! \n\n You will now be redirected to the login page \n You must relogin using your new password") ;
var f = makeSyncRequest({ action :'logoff'});
parent.window.location.reload();
Propchange: branches/2.0/config/js/features.js
('svn:mergeinfo' removed)
Modified: branches/2.0/config/password.html
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/password.html?view=diff&rev=5050&r1=5049&r2=5050
==============================================================================
--- branches/2.0/config/password.html (original)
+++ branches/2.0/config/password.html Tue Aug 10 16:42:37 2010
@@ -87,13 +87,12 @@
DOM_newpass.focus(); return true;
};
- var u = new listOfActions('manager.conf') ;
+ var u = new listOfSynActions('manager.conf') ;
u.new_action('update', CURRENT_Username, 'secret', DOM_newpass.value);
- u.callActions(function() {
- var t = ASTGUI.cliCommand('manager reload');
- });
+ u.callActions();
ASTGUI.feedback( { msg:"Password Updated Successfully", showfor:3 });
+ var t = ASTGUI.cliCommand('manager reload');
alert("Password Updated Successfully!! \n\n You will now be redirected to the login page \n You must relogin using your new password") ;
var f = makeSyncRequest({ action :'logoff'});
More information about the asterisk-gui-commits
mailing list