web/data/cubicweb.ajax.js
branchstable
changeset 2338 3f7c7fbae94e
parent 2257 2c9eceeaae6a
child 3011 657dfe374b08
--- a/web/data/cubicweb.ajax.js	Wed Jul 08 12:51:04 2009 +0200
+++ b/web/data/cubicweb.ajax.js	Wed Jul 08 13:58:37 2009 +0200
@@ -59,8 +59,8 @@
     if (typeof buildWidgets != 'undefined') {
 	buildWidgets(node);
     }
-    if (typeof roundedCornersOnLoad != 'undefined') {
-	roundedCornersOnLoad();
+    if (typeof roundedCorners != 'undefined') {
+	roundedCorners(node);
     }
     loadDynamicFragments(node);
     jQuery(CubicWeb).trigger('ajax-loaded');
@@ -231,6 +231,7 @@
 	    // make sure the component is visible
 	    removeElementClass(node, "hidden");
 	    swapDOM(node, domnode);
+	    postAjaxLoad(domnode);
 	}
     });
     d.addCallback(resetCursor);