Commit 19ebed0c authored by Jérome Perrin's avatar Jérome Perrin

GUI: update static version

parent d7099932
......@@ -104,15 +104,23 @@
});
}
function getNextStepLink(gadget, portal_type, options) {
// We define `next_step_action` in the json
if (options.action_definition.next_step_action !== undefined) {
var forward_kw = {
action: options.action_definition.next_step_action,
id: options.id
};
return gadget.aq_pleasePublishMyState(forward_kw);
}
// in the first POC, we had this hardcoded
if (options.action === "view_machine_shift_spreadsheet") {
var forward_kw = {
action: "view_run_simulation",
id: options.id
};
return gadget.aq_pleasePublishMyState(forward_kw);
} else {
return false;
}
return false;
}
function getTitle(gadget, portal_type, options) {
var title;
......
CACHE MANIFEST
# This manifest was generated by grunt-manifest HTML5 Cache Manifest Generator
# Time: Wed Sep 16 2015 18:23:50 GMT+0200 (CEST)
# Time: Fri Oct 14 2016 11:33:31 GMT+0200 (CEST)
CACHE:
daff/index.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