web/data/cubicweb.python.js
changeset 4830 10e8bc190695
parent 3142 5c07c3b2b332
child 5186 f3c2cb460ad9
--- a/web/data/cubicweb.python.js	Mon Mar 08 09:51:29 2010 +0100
+++ b/web/data/cubicweb.python.js	Mon Mar 08 19:11:47 2010 +0100
@@ -394,4 +394,13 @@
     }
 };
 
+jQuery(document).ready(function() {
+    jQuery(CubicWeb).trigger('server-response', [false, document]);
+});
+
+jQuery(CubicWeb).bind('ajax-loaded', function() {
+    log('[3.7] "ajax-loaded" event is deprecated, use "server-response" instead');
+    jQuery(CubicWeb).trigger('server-response', [false, document]);
+});
+
 CubicWeb.provide('python.js');