equal
deleted
inserted
replaced
57 initFacetBoxEvents(node); |
57 initFacetBoxEvents(node); |
58 } |
58 } |
59 if (typeof buildWidgets != 'undefined') { |
59 if (typeof buildWidgets != 'undefined') { |
60 buildWidgets(node); |
60 buildWidgets(node); |
61 } |
61 } |
62 if (typeof roundedCornersOnLoad != 'undefined') { |
62 if (typeof roundedCorners != 'undefined') { |
63 roundedCornersOnLoad(); |
63 roundedCorners(node); |
64 } |
64 } |
65 loadDynamicFragments(node); |
65 loadDynamicFragments(node); |
66 jQuery(CubicWeb).trigger('ajax-loaded'); |
66 jQuery(CubicWeb).trigger('ajax-loaded'); |
67 } |
67 } |
68 |
68 |
229 var domnode = getDomFromResponse(result); |
229 var domnode = getDomFromResponse(result); |
230 if (node) { |
230 if (node) { |
231 // make sure the component is visible |
231 // make sure the component is visible |
232 removeElementClass(node, "hidden"); |
232 removeElementClass(node, "hidden"); |
233 swapDOM(node, domnode); |
233 swapDOM(node, domnode); |
|
234 postAjaxLoad(domnode); |
234 } |
235 } |
235 }); |
236 }); |
236 d.addCallback(resetCursor); |
237 d.addCallback(resetCursor); |
237 d.addErrback(function(xxx) { |
238 d.addErrback(function(xxx) { |
238 updateMessage(_("an error occured")); |
239 updateMessage(_("an error occured")); |