From 1f454b577f7db434d79388eb101006b065f62a2b Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 25 Dec 2014 16:10:47 +0100 Subject: web: CSP, revert functionality, serve content --- web/src/js/actions.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web/src/js/actions.js') diff --git a/web/src/js/actions.js b/web/src/js/actions.js index 83dcb801..7f4fd0b0 100644 --- a/web/src/js/actions.js +++ b/web/src/js/actions.js @@ -89,6 +89,9 @@ var FlowActions = { replay: function(flow){ jQuery.post("/flows/" + flow.id + "/replay"); }, + revert: function(flow){ + jQuery.post("/flows/" + flow.id + "/revert"); + }, update: function (flow) { AppDispatcher.dispatchViewAction({ type: ActionTypes.FLOW_STORE, -- cgit v1.2.3