MDL-43334 backup: Fix cancel JS
commit6fea9dc4b386058b235a758232ff7e9bcefc7307
authorDamyon Wiese <damyon@moodle.com>
Mon, 9 Jul 2018 03:43:28 +0000 (9 11:43 +0800)
committerDamyon Wiese <damyon@moodle.com>
Mon, 9 Jul 2018 04:17:23 +0000 (9 12:17 +0800)
treee063d1d75c2603385accd886cc8a6fe911382bff
parentddd7ff18277551ba85ee707942e9aca054b44816
MDL-43334 backup: Fix cancel JS

The cancel button is a form element within a div that has the confirmcancel class. When we
accept a cancel modal, we should attempt to click the most specific form element of the
div, not the entire div.
backup/util/ui/yui/build/moodle-backup-confirmcancel/moodle-backup-confirmcancel-debug.js
backup/util/ui/yui/build/moodle-backup-confirmcancel/moodle-backup-confirmcancel-min.js
backup/util/ui/yui/build/moodle-backup-confirmcancel/moodle-backup-confirmcancel.js
backup/util/ui/yui/src/confirmcancel/js/confirmcancel.js