Closed argiepiano closed 11 months ago
PR submitted. There are some test failures that need to be looked into.
Tests are passing - not sure why they failed before.
@cellear, can you please test this patch?
admin/config/development/jquery
admin/config/system/backup_migrate/restore
. You will see that the "Advanced Options" fieldset is disabled. This is a consequence of the bug. Inspect the browser console, and you'll see js errors produced by this bug.Thanks!
OK, resubmitted the PR as I had created a branch in the base repo instead of my fork. PR #124
Oh, nice catch! This causes a console error on /admin/config/system/backup_migrate/restore:
Uncaught TypeError: e is undefined
I can confirm that applying the patch fixes the error, and the "Advanced options" collapsed fieldset works properly. :+1:
Works for me!
Thanks for testing!
There used to be 2
load()
methods in pre-jQuery 3. The one without parameters was equivalent totrigger('load')
. The one with at least one parameter was used for ajax requests. jQuery 3 removed the one without parameters, meaning that the 3 instances ofload()
inbackup_migrate.js
are trying to use the ajax loading, with a subsequent error which stops other javascript stuff from running.The solution is to change those to
trigger('load');