pari: branch 2.0 r4469 - /branches/2.0/config/js/registerg729.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Fri Jan 23 14:29:45 CST 2009
Author: pari
Date: Fri Jan 23 14:29:45 2009
New Revision: 4469
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4469
Log:
run 'save_config' to save the g729 licence
Modified:
branches/2.0/config/js/registerg729.js
Modified: branches/2.0/config/js/registerg729.js
URL: http://svn.digium.com/svn-view/asterisk-gui/branches/2.0/config/js/registerg729.js?view=diff&rev=4469&r1=4468&r2=4469
==============================================================================
--- branches/2.0/config/js/registerg729.js (original)
+++ branches/2.0/config/js/registerg729.js Fri Jan 23 14:29:45 2009
@@ -77,8 +77,10 @@
ASTGUI.systemCmdWithOutput( top.sessionData.directories.script_Registerg729 + " " + ASTGUI.getFieldValue('text_g729licensekey'), function(result){
ASTGUI.dialog.hide();
if(result.contains('SUCCESS')){
- alert('Registration Successfull ! \n Please reboot for changes to take effect');
- window.location.reload();
+ ASTGUI.systemCmd('save_config', function(){
+ alert('Registration Successfull ! \n Please reboot for changes to take effect');
+ window.location.reload();
+ });
}
if(result.contains('FAILED')){
alert('Registration FAILED ! \n' + result.withOut('FAILED'));
More information about the asterisk-gui-commits
mailing list