- Patch #1569648 by nod_: use localStorage to store tableDrag.showWeight value.

8.0.x
Dries 2012-07-21 15:19:03 -04:00
parent f193db251f
commit 96bca83bcc
1 changed files with 0 additions and 8 deletions

View File

@ -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');
};
/**