upgrades core to 8.4.2

This commit is contained in:
Bachir Soussi Chiadmi
2017-11-14 16:09:54 +01:00
parent bd60eff9b3
commit c2b4e25be4
3504 changed files with 140306 additions and 38684 deletions
+8 -22
View File
@@ -1,33 +1,20 @@
/**
* @file
* Taxonomy behaviors.
*/
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function ($, Drupal) {
'use strict';
/**
* Move a block in the blocks table from one region to another.
*
* This behavior is dependent on the tableDrag behavior, since it uses the
* objects initialized in that behavior to update the row.
*
* @type {Drupal~behavior}
*
* @prop {Drupal~behaviorAttach} attach
* Attaches the drag behavior to a applicable table element.
*/
Drupal.behaviors.termDrag = {
attach: function (context, settings) {
attach: function attach(context, settings) {
var backStep = settings.taxonomy.backStep;
var forwardStep = settings.taxonomy.forwardStep;
// Get the blocks tableDrag object.
var tableDrag = Drupal.tableDrag.taxonomy;
var $table = $('#taxonomy');
var rows = $table.find('tr').length;
// When a row is swapped, keep previous and next page classes set.
tableDrag.row.prototype.onSwap = function (swappedRow) {
$table.find('tr.taxonomy-term-preview').removeClass('taxonomy-term-preview');
$table.find('tr.taxonomy-term-divider-top').removeClass('taxonomy-term-divider-top');
@@ -52,5 +39,4 @@
};
}
};
})(jQuery, Drupal);
})(jQuery, Drupal);