Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
1bd86ab8 by Cédric Krier at 2023-03-09T00:14:45+01:00
Instantiate with jQuery elements from .each when clearing info bar
fae13a75319f introduced clearing per kind but .each method return DOM element
instead of jQuery instance.
- - - - -
1 changed file:
- sao/src/window.js
Changes:
=====================================
sao/src/window.js
=====================================
@@ -101,7 +101,8 @@
});
},
clear: function() {
- var kinds = this.el.children().each((i, el) => el.data('kind'));
+ var kinds = this.el.children().each(
+ (i, el) => jQuery(el).data('kind'));
new Set(kinds).forEach(kind => {
this.refresh(kind);
});
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/1bd86ab8cb11596f77a568cf2aff85b6a8bb31ea
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/1bd86ab8cb11596f77a568cf2aff85b6a8bb31ea
You're receiving this email because of your account on foss.heptapod.net.