diff options
author | Joas Schilling <coding@schilljs.com> | 2018-05-04 16:11:24 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-05-07 15:29:57 +0200 |
commit | 0579529145d2aec9ef31aab051530085775e62a2 (patch) | |
tree | 13d7c765fc8d3c98a4f6ba4c59d5a8954ef3c96f | |
parent | 5756a8d8ff9e8524cbbe6064c7994c0c63b6c88e (diff) | |
download | nextcloud-server-0579529145d2aec9ef31aab051530085775e62a2.tar.gz nextcloud-server-0579529145d2aec9ef31aab051530085775e62a2.zip |
Reset the value when changing the check class (because it might be invalid)
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/workflowengine/js/admin.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/workflowengine/js/admin.js b/apps/workflowengine/js/admin.js index ab122a8cd65..3a453befb8b 100644 --- a/apps/workflowengine/js/admin.js +++ b/apps/workflowengine/js/admin.js @@ -248,6 +248,7 @@ var check = OCA.WorkflowEngine.getCheckByClass(value); if (!_.isUndefined(check)) { checks[id]['operator'] = check['operators'][0]['operator']; + checks[id]['value'] = ''; } } // model change will trigger render |