Mercurial > hg > isophonics-drupal-site
diff core/misc/tabledrag.js @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
line wrap: on
line diff
--- a/core/misc/tabledrag.js Thu Feb 28 13:21:36 2019 +0000 +++ b/core/misc/tabledrag.js Thu May 09 15:33:08 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());