You are here

function ajaxsubmit_load in Javascript Tools 5

Load needed files.

1 call to ajaxsubmit_load()
ajaxsubmit_form_alter in ajaxsubmit/ajaxsubmit.module
Implementation of hook_form_alter().

File

ajaxsubmit/ajaxsubmit.module, line 140
Make designated forms submit via AJAX.

Code

function ajaxsubmit_load() {
  $path = drupal_get_path('module', 'ajaxsubmit');
  jstools_add_js($path . '/ajaxsubmit.js');
  drupal_add_js('misc/progress.js');
}