No multi support, less magic

This commit is contained in:
Joas Schilling 2016-08-02 10:41:13 +02:00
parent 62d009ad09
commit 248020f61f
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 2 deletions

View 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);