]> source.dussan.org Git - nextcloud-server.git/commitdiff
No multi support, less magic
authorJoas Schilling <coding@schilljs.com>
Tue, 2 Aug 2016 08:41:13 +0000 (10:41 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 2 Aug 2016 08:50:21 +0000 (10:50 +0200)
apps/workflowengine/js/filesystemtagsplugin.js

index bca890e3c319dce40a44eefa9c0c30941829f888..dc6f608d85a3ec087f16918750cebce6701b1971 100644 (file)
@@ -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);