--- webfm.module.orig	2009-01-20 15:57:10.000000000 +0100
+++ webfm.module	2009-01-20 15:56:11.000000000 +0100
@@ -760,7 +760,7 @@
       if(is_null($inline_js)) {
         $clean_url = variable_get('clean_url', 0);
         $clean = (($clean_url == 0) || ($clean_url == '0')) ? FALSE : TRUE;
-        $inline_js = webfm_inline_js($base_url, $base_url, $clean, $user->uid);
+        $inline_js = webfm_inline_js($base_url, $base_path, $clean, $user->uid);
       }
 
       // Attachments fieldset
