From fc7283235bb9e5ae4300714d03c0bf3723f4792b Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 27 Apr 2009 20:19:38 +0000 Subject: #444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions. --- modules/taxonomy/taxonomy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy.js b/modules/taxonomy/taxonomy.js index d047950df..a9539b206 100644 --- a/modules/taxonomy/taxonomy.js +++ b/modules/taxonomy/taxonomy.js @@ -1,5 +1,5 @@ // $Id$ -(function($) { +(function ($) { /** * Move a block in the blocks table from one region to another via select list. @@ -8,13 +8,13 @@ * objects initialized in that behavior to update the row. */ Drupal.behaviors.termDrag = { - attach: function(context, settings) { + attach: function (context, settings) { var table = $('#taxonomy', context); var tableDrag = Drupal.tableDrag.taxonomy; // Get the blocks tableDrag object. var rows = $('tr', table).size(); // When a row is swapped, keep previous and next page classes set. - tableDrag.row.prototype.onSwap = function(swappedRow) { + tableDrag.row.prototype.onSwap = function (swappedRow) { $('tr.taxonomy-term-preview', table).removeClass('taxonomy-term-preview'); $('tr.taxonomy-term-divider-top', table).removeClass('taxonomy-term-divider-top'); $('tr.taxonomy-term-divider-bottom', table).removeClass('taxonomy-term-divider-bottom'); -- cgit v1.2.3