From 290fe38c571c278fd9e43401870f7f81b83f2a8a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 9 Mar 2010 20:52:28 +0000 Subject: #653580 by mfer, Rob Loach, cosmicdreams, et al: Upgrade to jQuery 1.4.2. --- misc/tabledrag.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'misc/tabledrag.js') diff --git a/misc/tabledrag.js b/misc/tabledrag.js index 627bb5b1a..c671c31ed 100644 --- a/misc/tabledrag.js +++ b/misc/tabledrag.js @@ -169,7 +169,8 @@ Drupal.tableDrag.prototype.makeDraggable = function (item) { // Create the handle. var handle = $('
 
').attr('title', Drupal.t('Drag to re-order')); // Insert the handle after indentations (if any). - if ($('td:first .indentation:last', item).after(handle).size()) { + if ($('td:first .indentation:last', item).length) { + $('td:first .indentation:last', item).after(handle); // Update the total width of indentation in this entire table. self.indentCount = Math.max($('.indentation', item).size(), self.indentCount); } -- cgit v1.2.3