bkruse: branch 2.0 r3931 - in /branches/2.0/config: ./ js/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Oct 1 14:17:55 CDT 2008
Author: bkruse
Date: Wed Oct 1 14:17:55 2008
New Revision: 3931
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3931
Log:
Now creating a sym link, no need for two backup paths.
Modified:
branches/2.0/config/backup.html
branches/2.0/config/js/astman.js
branches/2.0/config/js/index.js
Modified: branches/2.0/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/backup.html?view=diff&rev=3931&r1=3930&r2=3931
==============================================================================
--- branches/2.0/config/backup.html (original)
+++ branches/2.0/config/backup.html Wed Oct 1 14:17:55 2008
@@ -46,7 +46,7 @@
}
</style>
<script>
-var bkpPath = ( parent.sessionData.PLATFORM.isAA50 ) ? ASTGUI.paths.ConfigBkp_AA50 : ASTGUI.paths.ConfigBkp ;
+var bkpPath = ASTGUI.paths.ConfigBkp ;
var upload_Filename = ""; // will be updated by upload_form.html
var starteduploading = 0;
var upload_Path; // path for 'uploads' as defined in http.conf - this variable will be automatically updated from http.conf
Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=3931&r1=3930&r2=3931
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Wed Oct 1 14:17:55 2008
@@ -2668,7 +2668,6 @@
ASTGUI.paths['rawman'] = '../../rawman';
ASTGUI.paths['asteriskConfig'] = '/etc/asterisk/';
ASTGUI.paths['ConfigBkp'] = '/var/lib/asterisk/gui_backups/';
-ASTGUI.paths['ConfigBkp_AA50'] = '/var/lib/asterisk/sounds/backups/'; // AA50 bkp path on C.F
ASTGUI.paths['ConfigBkp_dldPath'] = ASTGUI.paths['guiInstall'] + 'private/bkps/'; // path for keeping the bkp files for download
ASTGUI.paths['AGIBIN'] = '/var/lib/asterisk/agi-bin/';
ASTGUI.paths['Sounds'] = '/var/lib/asterisk/sounds/';
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=3931&r1=3930&r2=3931
==============================================================================
--- branches/2.0/config/js/index.js (original)
+++ branches/2.0/config/js/index.js Wed Oct 1 14:17:55 2008
@@ -153,7 +153,7 @@
pu = true;
}
if( !http_conf.post_mappings.hasOwnProperty('backups') ){
- var tmp_cbkp = ASTGUI.paths.ConfigBkp_AA50;
+ var tmp_cbkp = ASTGUI.paths.ConfigBkp;
if( tmp_cbkp.endsWith('/') ){ tmp_cbkp = tmp_cbkp.rChop('/'); }
u.new_action('append', 'post_mappings' , 'backups', tmp_cbkp ) ;
pu = true;
More information about the asterisk-gui-commits
mailing list