Changeset 14000
- Timestamp:
- 04/25/12 06:36:37 (1 year ago)
- Files:
-
- modules/branches/2.10/backup/assets/js/views/backup.js (modified) (1 diff)
- modules/branches/2.10/backup/functions.inc/backup.php (modified) (1 diff)
- modules/branches/2.10/backup/module.xml (modified) (2 diffs)
- modules/branches/2.10/backup/views/backup/backup.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.10/backup/assets/js/views/backup.js
r13841 r14000 119 119 120 120 //style cron custom times 121 $('#crondiv').find('input[type=checkbox]').button() 121 $('#crondiv').find('input[type=checkbox]').button(); 122 123 //highlight save when run is hovered 124 $('#run_backup').hover( 125 function(){ 126 $('#save_backup').addClass('ui-state-hover'); 127 }, 128 function(){ 129 $('#save_backup').removeClass('ui-state-hover'); 130 } 131 ); 122 132 }) 123 133 function remote() { modules/branches/2.10/backup/functions.inc/backup.php
r13601 r14000 275 275 $saved[$type][$var['path'][$e_id]] = true; 276 276 277 //ensure excludes are unique and clean 278 $excludes = explode("\n", $var['exclude'][$e_id]); 277 //ensure excludes are unique and clean, dont explode if the string is blank 278 $excludes = trim($var['exclude'][$e_id]) 279 ? explode("\n", $var['exclude'][$e_id]) 280 : array(); 281 279 282 foreach ($excludes as $my => $e) { 280 283 $excludes[$my] = trim($e); modules/branches/2.10/backup/module.xml
r13839 r14000 3 3 <repo>standard</repo> 4 4 <name>Backup & Restore</name> 5 <version>2.10.0.2 3</version>5 <version>2.10.0.24</version> 6 6 <publisher>Schmoozecom.com</publisher> 7 7 <license>GPLv2+</license> … … 18 18 </depends> 19 19 <changelog> 20 *2.10.0.24* re #5659 - set correct path on local servers; fix array being passed in astdb excludes; visual improvement to run button onhover 20 21 *2.10.0.23* r13797 was using wrong index 21 22 *2.10.0.22* #5598 modules/branches/2.10/backup/views/backup/backup.php
r13843 r14000 250 250 if ($immortal != 'true') { 251 251 $html .= '<span class="radioset">'; 252 $html .= form_submit('submit', _('Save')); 252 $html .= form_submit(array( 253 'name' => 'submit', 254 'value' => _('Save'), 255 'id' => 'save_backup' 256 )); 253 257 //can only run saved backups 254 258 if ($id) {
