Update to drupal-org-drupal 8.0.0-rc2. For more information, see https://www.drupal.org/node/2598668
This commit is contained in:
parent
f32e58e4b1
commit
8e18df8c36
3062 changed files with 15044 additions and 172506 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function ($, Drupal) {
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
var autocomplete;
|
||||
|
||||
|
@ -158,7 +158,7 @@
|
|||
// Remove the current input.
|
||||
terms.pop();
|
||||
// Add the selected item.
|
||||
if (ui.item.value.search(",") > 0) {
|
||||
if (ui.item.value.search(',') > 0) {
|
||||
terms.push('"' + ui.item.value + '"');
|
||||
}
|
||||
else {
|
||||
|
@ -178,8 +178,8 @@
|
|||
* @return {object}
|
||||
*/
|
||||
function renderItem(ul, item) {
|
||||
return $("<li>")
|
||||
.append($("<a>").html(item.label))
|
||||
return $('<li>')
|
||||
.append($('<a>').html(item.label))
|
||||
.appendTo(ul);
|
||||
}
|
||||
|
||||
|
@ -200,7 +200,7 @@
|
|||
});
|
||||
// Use jQuery UI Autocomplete on the textfield.
|
||||
$autocomplete.autocomplete(autocomplete.options)
|
||||
.data("ui-autocomplete")
|
||||
.data('ui-autocomplete')
|
||||
._renderItem = autocomplete.options.renderItem;
|
||||
}
|
||||
},
|
||||
|
|
Reference in a new issue