From: Joas Schilling Date: Tue, 2 Aug 2016 08:41:13 +0000 (+0200) Subject: No multi support, less magic X-Git-Tag: v11.0RC2~891^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=248020f61f280f5662544e0ea59d2dccc735524e;p=nextcloud-server.git No multi support, less magic --- 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);