summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-02 10:41:13 +0200
committerJoas Schilling <coding@schilljs.com>2016-08-02 10:50:21 +0200
commit248020f61f280f5662544e0ea59d2dccc735524e (patch)
tree6bd2fc807a21d616df30f73713120d30f39d1dd2 /apps
parent62d009ad09fd6cdc80cc6b4dded42a8826b7a459 (diff)
downloadnextcloud-server-248020f61f280f5662544e0ea59d2dccc735524e.tar.gz
nextcloud-server-248020f61f280f5662544e0ea59d2dccc735524e.zip
No multi support, less magic
Diffstat (limited to 'apps')
-rw-r--r--apps/workflowengine/js/filesystemtagsplugin.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/workflowengine/js/filesystemtagsplugin.js b/apps/workflowengine/js/filesystemtagsplugin.js
index bca890e3c31..dc6f608d85a 100644
--- a/apps/workflowengine/js/filesystemtagsplugin.js
+++ b/apps/workflowengine/js/filesystemtagsplugin.js
@@ -56,8 +56,7 @@
return element.get('id');
},
initSelection: function(element, callback) {
- var selection = ($(element).val() || []).split('|').sort();
- callback(selection);
+ callback($(element).val());
},
formatResult: function (tag) {
return OC.SystemTags.getDescriptiveTag(tag);