Replace deprecated jQuery's .toggle() with code
.toggle(handler, handler) has been removed from jQuery 1.9
In total, there are about 30 places in Chamilo (out of libraries) where we use ").toggle(".
Find them and replace them by an equivalent code that works for 1.9.
Use $form->addButtonAdvancedSetting(), remove advanced_parameter js code
Updated by Julio Montoya almost 5 years ago
- Assignee changed from Julio Montoya to Yannick Warnier
Yannick Warnier wrote:
Yeah... I think there are several cases where it's much more complicated than replacing with toggleClass(). Do your fixes cover all (bad) calls to toggle?
Is in fact more easy to do with toggleClass and the "click" events.
I fix all bad toggle that I found.