Index: api.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/api/api.module,v retrieving revision 1.88.2.40 diff -u -p -r1.88.2.40 api.module --- api.module 8 Oct 2009 06:07:46 -0000 1.88.2.40 +++ api.module 15 Oct 2009 10:21:32 -0000 @@ -822,7 +822,7 @@ function api_get_active_branch() { } function api_search_form($form_state, $branch_name) { - drupal_add_js(array('apiAutoCompletePath' => base_path() . variable_get('api_autocomplete_path_' . $branch_name, url('api/autocomplete/' . $branch_name))), 'setting'); + drupal_add_js(array('apiAutoCompletePath' => variable_get('api_autocomplete_path_' . $branch_name, 'api/autocomplete/' . $branch_name)), 'setting'); $form = array( '#token' => FALSE, );