[javascript] localise variable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 18 Dec 2008 15:41:29 +0100
changeset 226 26eb9d72e722
parent 225 b90904dc3069
child 227 20d6de0fdcb1
[javascript] localise variable
web/data/cubicweb.compat.js
--- 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,