You are here

function activesearch_load in Javascript Tools 5

Load/set the required files and javascript for activesearch.

1 call to activesearch_load()
activesearch_menu in activesearch/activesearch.module
Implementation of hook_menu().

File

activesearch/activesearch.module, line 165

Code

function activesearch_load() {
  drupal_add_js('misc/progress.js');
  $path = drupal_get_path('module', 'activesearch');
  jstools_add_js($path . '/activesearch.js');
  if (variable_get('jstools_history_remote', 0)) {
    drupal_add_js(drupal_get_path('module', 'jstools') . '/jquery.history_remote.pack.js');
  }
  module_invoke('tabs', 'load');
}