# HG changeset patch # User Aurelien Campeas # Date 1287563752 -7200 # Node ID 64b39aa0b047030165421008fe6a17bbaa68577f # Parent 256725d4e3eca2ab5e53322156134a1ad0c74dcb [js/ajax] use proper operator diff -r 256725d4e3ec -r 64b39aa0b047 web/data/cubicweb.ajax.js --- a/web/data/cubicweb.ajax.js Tue Oct 19 14:07:52 2010 +0200 +++ b/web/data/cubicweb.ajax.js Wed Oct 20 10:35:52 2010 +0200 @@ -36,7 +36,7 @@ }, addCallback: function(callback) { - if ((this._req.readyState == 4) & this._result) { + if ((this._req.readyState == 4) && this._result) { var args = [this._result, this._req]; jQuery.merge(args, cw.utils.sliceList(arguments, 1)); callback.apply(null, args);