No multi support, less magic
This commit is contained in:
parent
62d009ad09
commit
248020f61f
|
@ -56,8 +56,7 @@
|
||||||
return element.get('id');
|
return element.get('id');
|
||||||
},
|
},
|
||||||
initSelection: function(element, callback) {
|
initSelection: function(element, callback) {
|
||||||
var selection = ($(element).val() || []).split('|').sort();
|
callback($(element).val());
|
||||||
callback(selection);
|
|
||||||
},
|
},
|
||||||
formatResult: function (tag) {
|
formatResult: function (tag) {
|
||||||
return OC.SystemTags.getDescriptiveTag(tag);
|
return OC.SystemTags.getDescriptiveTag(tag);
|
||||||
|
|
Loading…
Reference in New Issue