Index: json_server.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/json_server/json_server.js,v
retrieving revision 1.1
diff -u -r1.1 json_server.js
--- json_server.js	9 Nov 2007 17:34:57 -0000	1.1
+++ json_server.js	28 Mar 2008 17:23:01 -0000
@@ -24,8 +24,8 @@
   for(i in args) {
     args_done[i] = Drupal.toJson(args[i]);
   }
-  $.post(Drupal.settings.baseurl + "?q=services/json", args_done, function(unparsed_data) {
+  $.post(Drupal.settings.basePath + "?q=services/json", args_done, function(unparsed_data) {
     parsed_data = Drupal.parseJson(unparsed_data);
     success(!parsed_data['#error'], parsed_data['#data']);
   });
-};
\ No newline at end of file
+};
Index: json_server.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/json_server/json_server.module,v
retrieving revision 1.6
diff -u -r1.6 json_server.module
--- json_server.module	9 Nov 2007 18:17:29 -0000	1.6
+++ json_server.module	28 Mar 2008 17:22:42 -0000
@@ -48,10 +48,7 @@
 }
 
 function json_load() {
-  global $base_url;
-  $path = drupal_get_path("module", "json_server");
   drupal_add_js($path ."/json_server.js");
-  drupal_add_js(array("baseurl" => $base_url ."/"), 'setting');
 }
 
 function drupal_parse_json($v) {
@@ -78,4 +75,4 @@
     }
   }
   return $v;
-}
\ No newline at end of file
+}

