web/data/cubicweb.compat.js
changeset 226 26eb9d72e722
parent 12 95bc1d15349b
child 1117 20a21b3153b0
--- a/web/data/cubicweb.compat.js	Thu Dec 18 15:00:16 2008 +0100
+++ b/web/data/cubicweb.compat.js	Thu Dec 18 15:41:29 2008 +0100
@@ -337,7 +337,7 @@
 
 
 function loadJSON(url, data, type, dataType) {
-    d = new Deferred();
+    var d = new Deferred();
     jQuery.ajax({
 	url: url,
 	type: type,