Commit 5da50451 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #293 from jyelloz/fix_select2_tags

Fixed wrong creation of select2tags components.
parents 84bedef5 f098bf39
......@@ -63,7 +63,7 @@
this.applyGlobalStyles = function(parent) {
$('[data-role=select2]', parent).select2({width: 'resolve'});
$('[data-role=select2blank]', parent).select2({allowClear: true, width: 'resolve'});
$('[data-role=select2tags]', parent).select2({tags: [], tokenSeparators: [','], width: 'resolve'});
$('[data-role=select2tags]', parent).select2({multiple: true, tokenSeparators: [','], width: 'resolve'});
$('[data-role=datepicker]', parent).datepicker();
$('[data-role=datetimepicker]', parent).datepicker({displayTime: true});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment