MDL-52318 core_form: allow multiple filepicker-enabled url elements
commit1c1d738ba0ef069a00092ee72e68287b559a3e2b
authorJake Dallimore <jake@moodle.com>
Tue, 5 Jun 2018 05:00:30 +0000 (5 13:00 +0800)
committerJake Dallimore <jake@moodle.com>
Mon, 9 Jul 2018 03:29:23 +0000 (9 11:29 +0800)
treec3efa6c48430da3dc80dc1015b046dfbd4015645
parentc7d148dc202ea5667a04b8677df8b6f3b9182fc9
MDL-52318 core_form: allow multiple filepicker-enabled url elements

In cases when filepicker support is enabled, this patch adds a wrapper
div around the url element and includes the filepicker id in its id.
This allows the js callback code to target the specific input field
with which it is associated.
lib/form/url.js
lib/form/url.php
theme/boost/templates/core_form/element-url.mustache