Tim Hunt
3350475e36
MDL-34728 forms: woy for other JS to trigger disableIf update.
...
This was discovered while working on MDL-32705. If some JavaScript (for
example a select all/none link) changes the state of some form fields,
then the disabledIf state of other form elements does not automatically
update.
The existing form JS was so well encapsulated that this was impossible.
This change pokes a hole in the encapsulation, and provides an API
M.form.updateFormState(formid);
that other bits of JS code can call when necessary.
2012-08-13 11:19:01 +01:00
Marina Glancy
9ff506d165
MDL-34221 disabledIf support for filemanager and filepicker elements
2012-07-23 12:08:49 +12:00
Davo Smith
252bd1871b
MDL-34221 Filepicker - disableIf now prevents drag and drop upload
2012-07-23 12:08:49 +12:00
Tim Hunt
8f6384a9ec
MDL-27045 formslib: fix disabledif for advcheckbox
...
This is based on earlier work by Henning Bostelmann and Tom Potts.
2011-11-17 17:57:27 +00:00
Jason Fowler
483239087c
MDL24200 - Admin Users - Changing the submit button to just a button to prevent it from taking focus when entering text. (Patch provided by Hubert Chathi)
2011-11-07 15:29:11 +08:00
Rajesh Taneja
63d5c4ac85
MDL-25937 Forms Library: Filepicker will respect disable if
2011-10-03 16:26:21 +08:00
Aaron Wells
4b72f9eb78
MDL-26167 lib/form: Altering Javascript so that "disabledIf" will disable the "Choose" button for a filepicker
2011-04-15 09:59:46 +12:00
Petr Skoda
d306751695
fixed unterminated JS statements
2010-09-18 10:37:19 +00:00
Sam Hemelryk
c1422316bf
backup MDL-24219 Fixed up dependencies JS for mforms
2010-09-17 03:30:15 +00:00
Sam Hemelryk
e2620b9d15
form-javascript MDL-24024 Fixed bug with mforms JavaScript whereby dependencies on radio buttons were constantly returning true
2010-09-13 08:58:32 +00:00
Sam Hemelryk
13e9c0af85
forms MDL-24051 Fixed regression in IE + YUI
2010-09-10 05:53:18 +00:00
Sam Hemelryk
3a905609ae
mforms MDL-24048 Fixed bug in IE when attempting to iterate form elements
2010-09-09 06:36:33 +00:00
Sam Hemelryk
5e60ed9b25
forms MDL-23891 Fixed up IE bug in JavaScript for finding reset buttons
2010-08-26 02:05:47 +00:00
Sam Hemelryk
c7e3e61c70
javascript MDL-23850 Moved mforms specific JavaScript to a separate file
2010-08-19 05:43:06 +00:00