Changeset 14000

Show
Ignore:
Timestamp:
04/25/12 06:36:37 (1 year ago)
Author:
mbrevda
Message:

[Auto Checking in outstanding changes in backup] re #5659 - set correct path on local servers; fix array being passed in astdb excludes; visual improvement to run button onhover

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.10/backup/assets/js/views/backup.js

    r13841 r14000  
    119119 
    120120  //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  ); 
    122132}) 
    123133function remote() { 
  • modules/branches/2.10/backup/functions.inc/backup.php

    r13601 r14000  
    275275        $saved[$type][$var['path'][$e_id]] = true; 
    276276         
    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 
    279282        foreach ($excludes as $my => $e) { 
    280283          $excludes[$my] = trim($e); 
  • modules/branches/2.10/backup/module.xml

    r13839 r14000  
    33  <repo>standard</repo> 
    44  <name>Backup &amp; Restore</name> 
    5   <version>2.10.0.23</version> 
     5  <version>2.10.0.24</version> 
    66  <publisher>Schmoozecom.com</publisher> 
    77  <license>GPLv2+</license> 
     
    1818  </depends> 
    1919  <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  
    2021    *2.10.0.23* r13797 was using wrong index  
    2122    *2.10.0.22* #5598 
  • modules/branches/2.10/backup/views/backup/backup.php

    r13843 r14000  
    250250if ($immortal != 'true') { 
    251251  $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  )); 
    253257  //can only run saved backups 
    254258  if ($id) {