diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-03-08 07:25:39 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-03-08 07:25:39 +0000 |
| commit | 0bc24a78a2fa7836196f18218cce6d6135f9cc15 (patch) | |
| tree | dd2b64e5974eae29559961accb758854c5d9faa7 /addons/partner_autocomplete | |
| parent | 0a37729ea9a978058735da4648bdc218178cd8ae (diff) | |
[FIX] web,*: adapt autocomplete dropdowns after jquery update
*partner_autocomplete,test_main_flows
In jQuery 3, the active element in autocomplete dropdowns is no
longer identified with class 'ui-state-focus' on the <li/>, but
with class 'ui-state-active' is on its child <a/>. Moreover, the
background color of the active element is now set on the <a/>
instead of the <li/>.
This rev. adapts scss rules accordingly, and selectors in the
main_flow_tour.
Issue reported on the jquery update pad.
closes odoo/odoo#31693
Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'addons/partner_autocomplete')
| -rw-r--r-- | addons/partner_autocomplete/static/src/scss/partner_autocomplete.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/partner_autocomplete/static/src/scss/partner_autocomplete.scss b/addons/partner_autocomplete/static/src/scss/partner_autocomplete.scss index d70477e7cb3..e62c4621a5a 100644 --- a/addons/partner_autocomplete/static/src/scss/partner_autocomplete.scss +++ b/addons/partner_autocomplete/static/src/scss/partner_autocomplete.scss @@ -40,7 +40,7 @@ } } } - > .ui-menu-item.ui-state-focus .text-muted { + > .ui-menu-item > a.ui-state-active .text-muted { color: white !important; } } |
