pari: branch 2.0 r3782 - /branches/2.0/config/js/pbx.js
    SVN commits to the Asterisk-GUI project 
    asterisk-gui-commits at lists.digium.com
       
    Tue Sep  9 10:42:13 CDT 2008
    
    
  
Author: pari
Date: Tue Sep  9 10:42:13 2008
New Revision: 3782
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3782
Log:
set proper backup file name
Modified:
    branches/2.0/config/js/pbx.js
Modified: branches/2.0/config/js/pbx.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/pbx.js?view=diff&rev=3782&r1=3781&r2=3782
==============================================================================
--- branches/2.0/config/js/pbx.js (original)
+++ branches/2.0/config/js/pbx.js Tue Sep  9 10:42:13 2008
@@ -2392,7 +2392,7 @@
 			var year = today.getFullYear();
 			var month = months[ today.getMonth() ];
 			var day = today.getDate().addZero();
-			var tmp_bkpFileName = 'Upgrade_backup_of_C1.x__' + year + month + day + '.tar' ;
+			var tmp_bkpFileName = ( sessionData.PLATFORM.isABE ) ? 'Upgrade_backup_of_C1.x__' + year + month + day + '.tar' :  'Upgrade_backup_before_GUI__' + year + month + day + '.tar' ;
 	
 			parent.ASTGUI.dialog.waitWhile('Taking Backup of current configuration ...');
 			ASTGUI.systemCmd( "tar -cf " + ASTGUI.paths.ConfigBkp + tmp_bkpFileName + ' ' +  ' /etc/asterisk', function(){
    
    
More information about the asterisk-gui-commits
mailing list