From 248020f61f280f5662544e0ea59d2dccc735524e Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 2 Aug 2016 10:41:13 +0200 Subject: [PATCH] No multi support, less magic --- apps/workflowengine/js/filesystemtagsplugin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/workflowengine/js/filesystemtagsplugin.js b/apps/workflowengine/js/filesystemtagsplugin.js index bca890e3c3..dc6f608d85 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);