Commit 8ec2d0cd authored by Romain Courteaud's avatar Romain Courteaud

[erp5_xhtml_style] Search page gadget with the data-gadget-value property

Do not use data-gadget-value, as some gadgets may also have sub gadget declarations
parent c77a64f3
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
return new RSVP.Queue() return new RSVP.Queue()
.push(function () { .push(function () {
var field_element_list = var field_element_list =
gadget.element.querySelectorAll("[data-gadget-url]"), gadget.element.querySelectorAll("[data-gadget-value]"),
field_element, field_element,
field_scope, field_scope,
field_url, field_url,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment