equal
deleted
inserted
replaced
61 } |
61 } |
62 if (typeof roundedCorners != 'undefined') { |
62 if (typeof roundedCorners != 'undefined') { |
63 roundedCorners(node); |
63 roundedCorners(node); |
64 } |
64 } |
65 loadDynamicFragments(node); |
65 loadDynamicFragments(node); |
66 jQuery(CubicWeb).trigger('ajax-loaded'); |
66 // XXX simulates document.ready, but the former |
|
67 // only runs once, this one potentially many times |
|
68 // we probably need to unbind the fired events |
|
69 // When this is done, jquery.treeview.js (for instance) |
|
70 // can be unpatched. |
|
71 jQuery(CubicWeb).trigger('ajax-loaded'); |
67 } |
72 } |
68 |
73 |
69 /* cubicweb loadxhtml plugin to make jquery handle xhtml response |
74 /* cubicweb loadxhtml plugin to make jquery handle xhtml response |
70 * |
75 * |
71 * fetches `url` and replaces this's content with the result |
76 * fetches `url` and replaces this's content with the result |