Any form that calls JHTML::_('behavior.formvalidation'); will have mootools-core included.
Since formvalidate loads validate.js, which is no longer a mootools class, we are safe to remove the call to the mootools librayry
https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/behavior.php#L151
There are also other redundant calls to Mootools:
combobox https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/behavior.php#L215
tooltip https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/behavior.php#L257
modal https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/behavior.php#L326
noframes https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/behavior.php#L701
Or to put it in other terms only tree still requires mootools.
Feel free to create a PR to remove those calls. Then it can be tested.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-08 22:34:19 |
Labels |
Added:
?
|
See #2015 as of why Mootools is still loaded