/[drupal]/contributions/modules/livesearch/livesearch.js
ViewVC logotype

Diff of /contributions/modules/livesearch/livesearch.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.17, Sun Jul 13 17:50:48 2008 UTC revision 1.18, Sun Jul 13 18:19:50 2008 UTC
# Line 1  Line 1 
1  // $Id: livesearch.js,v 1.16 2008/01/20 19:49:54 kourge Exp $  // $Id: livesearch.js,v 1.17 2008/07/13 17:50:48 kourge Exp $
2  if (Drupal.jsEnabled) { // global killswitch  if (Drupal.jsEnabled) { // global killswitch
3  (function($) { // Dollar namespace scoping  (function($) { // Dollar namespace scoping
4  Drupal.LiveSearch = {  Drupal.LiveSearch = {
# Line 88  $(document).ready(function() { Line 88  $(document).ready(function() {
88      if (searchBox.length == 0) {      if (searchBox.length == 0) {
89        return;        return;
90      }      }
91      searchBox = $(searchBox[0]);      searchBox = $(searchBox.get(0));
92      searchForm = $(searchBox).parents('form');      searchForm = $(searchBox).parents('form');
93    }    }
94    var localizedTerm;    var localizedTerm;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.2