The "Add a note to backup" is no longer working.

Check the box "Add a note to backup" and the collapsed field no longer opens up. Nothing happens.

This might have happened after one of the recent Drupal core upgrades.

In my case the site is currently running 7.31. It used to work but now it doesn't.

Thanks,

Shai

CommentFileSizeAuthor
#1 backupand migrate.JPG41.42 KBgamaliz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gamaliz’s picture

FileSize
41.42 KB

I have the same problem. Upon clicking on the "add note to the backup" checkbox, the textarea does not show up.

ronan’s picture

Status: Active » Postponed (maintainer needs more info)

Can you check if there are any javascript errors on your site and whether they are coming from this module? Chrome dev tools should show any js errors on this page.

dsuess’s picture

Same here. I'm using jQuery Updates & its set to v1.9. BM version: 7.x-3.0

rjw’s picture

Same problem with a new Drupal 7.34 installation, BM verions 7.x-3.0, Garland for admin theme.

There are no javascript errors reported in Firebug. As I look at the HTML through Firebug, the "display:none" inline style on #edit-quickbackup-description flashes as I click the "add a note" checkbox, but it doesn't change (or maybe it "changes" from display:none to display:none).

There is a similar problem on the Add Schedule screen. If I click "Automatically delete old backups," the hidden options under that remain hidden. However, if I save and re-edit the schedule, the options are shown.

EDIT: Discovered jQuery Update now defaults the jQuery version to 1.10. Setting "Alternate jQuery version for administrative pages" to jQuery 1.5 fixes the problem.

dsuess’s picture

@rjw, great inclusion of the "Alternate jQuery ver for Administrative Pages"

Found that "notes" work with jQuery versions: 1.5, 1.6, 1.7 and 1.8.
Notes does not work with jQuery vers: 1.9 and 1.10

Sure this is nice and all, but this can/will cause issues with other module admin pages which rely upon more recent jQuery versions.

p.s. Love this module and can't live without it!

Rory Downes’s picture

I have this issue and it specifically occurs when I enable the 'jquery update' module but even before I update the jquery. Like a previous commenter, I see no Javascript errors reported but the style="display: none;" parameter of the #edit-quickbackup-description div does not change to 'display=block;' value that happens without this module enabled.
Regards
Rory

Rory Downes’s picture

Found that changing jquery update settings to version 1.7 (all I need) this error goes away!

ronan’s picture

Title: Add a Note to Backup No Longer Working » Add a Note to Backup doesn't work with Jquery > 1.7
ronan’s picture

Status: Postponed (maintainer needs more info) » Fixed

I was using an older way to check the value of the checkbox. Fixed now.

  • ronan committed 50f3ad3 on 7.x-3.x
    Issue #2347637: Add a Note to Backup doesn't work with Jquery > 1.7
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.