diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-27 20:19:38 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-27 20:19:38 +0000 |
commit | fc7283235bb9e5ae4300714d03c0bf3723f4792b (patch) | |
tree | 0dc443ba5dc1f74fbfc5ad5762c7c7a556232b73 /modules/taxonomy | |
parent | 031ba7d66533b3bb6e1ceb1cc834e9af9b1a3c71 (diff) | |
download | brdo-fc7283235bb9e5ae4300714d03c0bf3723f4792b.tar.gz brdo-fc7283235bb9e5ae4300714d03c0bf3723f4792b.tar.bz2 |
#444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.js | 6 |
1 files changed, 3 insertions, 3 deletions
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'); |