summaryrefslogtreecommitdiff
path: root/addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2015-02-16 13:35:16 +0100
committerSimon Lejeune <sle@openerp.com>2015-02-16 13:43:44 +0100
commitb310a56c9878b78b3f2af1f078674b3fd9194fa0 (patch)
treefa39e8c3593c5c33cd2cbfb1f1edfbfa06c8e16c /addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent8a10204e3883d58368131b4ba09bf447c40c4ac0 (diff)
[FIX] web: searchview: correct toggleClassof dropdowns
* toggleClass('class', undefined) behaves as if no second argument was passed: a classic toggle * toggleClass('class', !undefined) will only add the class if not present, as the second argument is a boolean (!undefined is true) This leads to an inconsistent state in the previous implementation of multiple toggle methods (the`closed-menu` class was never toggled). We now only use the not operator when the variable is not undefined. Also, fix the toggle `closed-menu`/`open-menu` logic in dashboard.js, where it was applied to the `a` instead of the `li`.
Diffstat (limited to 'addons/website/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions