No multi support, less magic

This commit is contained in:
Joas Schilling 2016-08-02 10:41:13 +02:00
parent 7d71535f57
commit 065763f117
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);