--- a/web/data/cubicweb.ajax.js Tue Jan 27 17:54:30 2009 +0100
+++ b/web/data/cubicweb.ajax.js Wed Jan 28 10:29:39 2009 +0100
@@ -69,7 +69,7 @@
* the associated RQL to build them (Async call)
*/
function loadDynamicFragments() {
- var fragments = getElementsByTagAndClassName('div', 'dynamicFragment');
+ var fragments = jQuery('div.dynamicFragment');
if (fragments.length == 0) {
return;
}
@@ -277,7 +277,7 @@
* while the page was generated.
*/
function unregisterUserCallback(cbname) {
- d = async_remote_exec('unregister_user_callback', cbname);
+ var d = async_remote_exec('unregister_user_callback', cbname);
d.addCallback(function() {resetCursor();});
d.addErrback(function(xxx) {
updateMessage(_("an error occured"));