[ajax] fix attribute lookup (closes #2491038)
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 19 Sep 2012 17:16:04 +0200
changeset 8627 5096071b7e1c
parent 8626 e2ba137b2bf9
child 8631 1053b9d0fdf7
[ajax] fix attribute lookup (closes #2491038)
web/data/cubicweb.ajax.js
--- a/web/data/cubicweb.ajax.js	Tue Dec 11 18:20:00 2012 +0100
+++ b/web/data/cubicweb.ajax.js	Wed Sep 19 17:16:04 2012 +0200
@@ -70,7 +70,7 @@
                 callback.apply(null, args);
             }
         } catch(error) {
-            this.error(this.xhr, null, error);
+            this.error(this._req, null, error);
         }
     },