MDL-50852 formslib: Fixed client-side form validation problem.
authorJun Pataleta <jun@moodle.com>
Thu, 20 Aug 2015 02:36:59 +0000 (10:36 +0800)
committerJun Pataleta <jun@moodle.com>
Wed, 9 Sep 2015 07:35:01 +0000 (15:35 +0800)
commit36e0030ffe5abffa224846ba18c2c7b464826db4
treea0790c7dc0c11a64b8caa48af7d0e4d63283d164
parent1dabedeedf1b61b780b7e1676ff4b1466416246f
MDL-50852 formslib: Fixed client-side form validation problem.

This patch fixes the problem of client validation being broken when
shortforms is not enabled. This issue is caused by moodle-core-event
module not being loaded and the broadcast parameter in the
Y.Global.publish set to 2 instead of true.
lib/formslib.php
lib/yui/build/moodle-core-event/moodle-core-event-debug.js
lib/yui/build/moodle-core-event/moodle-core-event-min.js
lib/yui/build/moodle-core-event/moodle-core-event.js
lib/yui/src/event/js/event.js