Commit e4c5f315 authored by Julien Muchembled's avatar Julien Muchembled

gadget: let render.js generate a scope automatically

This fixes the case of gadget fields in listboxes.
parent fd432738
......@@ -31,7 +31,6 @@ class GadgetWidget(Widget.TextWidget):
def render_view(self, field, value, REQUEST=None, render_prefix=None, key=None):
kw = {
'data-gadget-sandbox': field.get_value('js_sandbox'),
'data-gadget-scope': field.id,
'data-gadget-url': field.get_value('gadget_url'),
'data-gadget-value': value,
}
......
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