Commit e5b2662b authored by Jérome Perrin's avatar Jérome Perrin

GUI: Instatiate widget with the action definition from the JSON as options.action_definition

parent c09788a0
...@@ -370,6 +370,7 @@ ...@@ -370,6 +370,7 @@
portal_types.Input = data.application_configuration.input; portal_types.Input = data.application_configuration.input;
portal_types.Output = data.application_configuration.output; portal_types.Output = data.application_configuration.output;
} }
options.action_definition = portal_types[portal_type][options.action];
// Get the action information // Get the action information
return gadget.declareGadget( return gadget.declareGadget(
portal_types[portal_type][options.action].gadget + ".html" portal_types[portal_type][options.action].gadget + ".html"
......
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