updated bower components

- updated bootstrap-datepicker to 1.9.0
- updated chart.js to 1.1.1
- updated ckeditor to 4.12.1
- updated jquery to 3.4.1
- updated raphael to 2.2.7
- updated select2 to 4.0.8
This commit is contained in:
REJack
2019-08-09 13:38:10 +02:00
parent 239be16dac
commit 785cd511fd
471 changed files with 19589 additions and 26689 deletions

View File

@@ -254,4 +254,35 @@ test('removing a selected option changes the value', function (assert) {
);
syncDone();
});
});
test('searching tags does not loose focus', function (assert) {
assert.expect(1);
var asyncDone = assert.async();
var $ = require('jquery');
var Options = require('select2/options');
var Select2 = require('select2/core');
var $select = $(
'<select multiple="multiple">' +
' <option value="1">Text1</option>' +
' <option value="2">Text2</option>' +
'</select>'
);
$('#qunit-fixture').append($select);
var select = new Select2($select, {tags: true});
var inputEl = select.selection.$search[0];
inputEl.focus();
select.on('selection:update', function() {
assert.equal(document.activeElement, inputEl);
asyncDone();
});
select.selection.trigger('query', {term: 'f'});
select.selection.trigger('query', {term: 'ff'});
});