Mon, 13 Sep 2010 09:56:10 +0200 [javascript] fix test_ajax.js implementation stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 13 Sep 2010 09:56:10 +0200] rev 6214
[javascript] fix test_ajax.js implementation In cubicweb.ajax.js, we maintain two lists (cw.loaded_src and cw.loaded_href) to keep track of already included CSS and JS. (see discussion about jQuery and $('foo').appendTo($head) in _loadAjaxHtmlHead.) Since all tests are executed in the "same page", those two variables need to be reinitialized before each test.
(0) -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 tip