Mercurial > hg > cmmr2012-drupal-site
diff core/misc/tabledrag.js @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/misc/tabledrag.js Thu Feb 28 13:11:55 2019 +0000 +++ b/core/misc/tabledrag.js Thu May 09 15:34:47 2019 +0100 @@ -86,7 +86,7 @@ self.makeDraggable(this); }); - $table.before($('<button type="button" class="link tabledrag-toggle-weight"></button>').attr('title', Drupal.t('Re-order rows by numerical weight instead of dragging.')).on('click', $.proxy(function (e) { + $table.before($('<button type="button" class="link tabledrag-toggle-weight"></button>').on('click', $.proxy(function (e) { e.preventDefault(); this.toggleColumns(); }, this)).wrap('<div class="tabledrag-toggle-weight-wrapper"></div>').parent());