diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js index ebba5f4edd375095a237cbcc263357064458a974..bd79bde1b41cfc6d085c6b1ecb8dacc68acf9cf1 100644 --- a/core/misc/tabledrag.js +++ b/core/misc/tabledrag.js @@ -246,14 +246,6 @@ Drupal.tableDrag.prototype.showColumns = function () { }); // Change link text. $('.tabledrag-toggle-weight').text(Drupal.t('Hide row weights')); - // Change cookie. - $.cookie('Drupal.tableDrag.showWeight', 1, { - path: Drupal.settings.basePath, - // The cookie expires in one year. - expires: 365 - }); - // Trigger an event to allow other scripts to react to this display change. - $('table.tabledrag-processed').trigger('columnschange', 'show'); }; /**