diff options
author | Joas Schilling <coding@schilljs.com> | 2018-05-04 16:11:24 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-05-04 16:11:24 +0200 |
commit | 2dd8e90a9f8cdcbaef361e684c99afc61e51c659 (patch) | |
tree | 2bf0b0ed149d3d1c9cdc6c7504add67dba04cde8 /apps/workflowengine | |
parent | a61fa70bcdacbdee903780879becb933d1a7c1f5 (diff) | |
download | nextcloud-server-2dd8e90a9f8cdcbaef361e684c99afc61e51c659.tar.gz nextcloud-server-2dd8e90a9f8cdcbaef361e684c99afc61e51c659.zip |
Reset the value when changing the check class (because it might be invalid)
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/workflowengine')
-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 2ae1039056b..66e98205db6 100644 --- a/apps/workflowengine/js/admin.js +++ b/apps/workflowengine/js/admin.js @@ -270,6 +270,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 |