pari: trunk r473 - /trunk/config/backup.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Thu Mar 22 15:08:37 MST 2007
Author: pari
Date: Thu Mar 22 17:08:36 2007
New Revision: 473
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=473
Log:
replacing alert box with gui_alert
Modified:
trunk/config/backup.html
Modified: trunk/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/backup.html?view=diff&rev=473&r1=472&r2=473
==============================================================================
--- trunk/config/backup.html (original)
+++ trunk/config/backup.html Thu Mar 22 17:08:36 2007
@@ -128,9 +128,9 @@
function restore_bkp_step2(filename){
parent.astmanEngine.run_tool("tar -xf " + bkp_path + filename +" -C /" , callback=function(){
- alert("Configuration restored to "+ filename +" \n Click OK to reload asterisk with the restored configuration");
- // What ever to happen after restoring
- parent.reloadConfig();
+ gui_alert("Configuration restored !!");
+ // give two seconds for extracting tar file before restarting asterisk
+ window.setTimeout( function(){ parent.reloadConfig();}, 1500);
});
}
More information about the asterisk-gui-commits
mailing list