Index: ajax_spellcheck.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/ajax_spellcheck/ajax_spellcheck.module,v retrieving revision 1.1 diff -u -w -B -F^f -r1.1 ajax_spellcheck.module --- ajax_spellcheck.module 16 Nov 2005 12:58:17 -0000 1.1 +++ ajax_spellcheck.module 27 Jul 2006 19:36:15 -0000 @@ -29,6 +29,7 @@ function ajax_spellcheck_menu($may_cache else { $path = drupal_get_path('module', 'ajax_spellcheck'); drupal_add_js($path . '/spellcheck.js'); + drupal_set_html_head(''); theme_add_style($path . '/spellcheck.css'); } Index: spellcheck.js =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/ajax_spellcheck/spellcheck.js,v retrieving revision 1.3 diff -u -w -B -F^f -r1.3 spellcheck.js --- spellcheck.js 12 Dec 2005 16:15:51 -0000 1.3 +++ spellcheck.js 27 Jul 2006 19:36:15 -0000 @@ -75,8 +76,7 @@ function spellcheckerHandleClick(e) { } this.trigger.innerHTML = 'Checking...'; this.trigger.onclick = function() { return false; }; - var base_url = document.getElementsByTagName('base')[0].href; - HTTPPost(base_url + '?q=spellcheck', this.callback, this, this.textArea.value); + HTTPPost(ajax_spellcheck_path, this.callback, this, this.textArea.value); } /**