issue 623, thanks Gergely Peli

This commit is contained in:
Massimo Di Pierro
2012-01-21 17:22:32 -06:00
parent 02bd396c03
commit 1ee695041d
4 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2012-01-21 16:59:06) stable Version 1.99.4 (2012-01-21 17:22:25) stable
+4 -2
View File
@@ -87,8 +87,10 @@ function web2py_ajax_page(method,action,data,target) {
web2py_trap_form(action,target); web2py_trap_form(action,target);
web2py_trap_link(target); web2py_trap_link(target);
web2py_ajax_init('#'+target); web2py_ajax_init('#'+target);
if(command) eval(command); if(command)
if(flash) jQuery('.flash').html(flash).slideDown(); eval(decodeURIComponent(escape(command)));
if(flash)
jQuery('.flash').html(decodeURIComponent(escape(flash))).slideDown();
} }
}); });
} }
+4 -2
View File
@@ -87,8 +87,10 @@ function web2py_ajax_page(method,action,data,target) {
web2py_trap_form(action,target); web2py_trap_form(action,target);
web2py_trap_link(target); web2py_trap_link(target);
web2py_ajax_init('#'+target); web2py_ajax_init('#'+target);
if(command) eval(command); if(command)
if(flash) jQuery('.flash').html(flash).slideDown(); eval(decodeURIComponent(escape(command)));
if(flash)
jQuery('.flash').html(decodeURIComponent(escape(flash))).slideDown();
} }
}); });
} }
+4 -2
View File
@@ -87,8 +87,10 @@ function web2py_ajax_page(method,action,data,target) {
web2py_trap_form(action,target); web2py_trap_form(action,target);
web2py_trap_link(target); web2py_trap_link(target);
web2py_ajax_init('#'+target); web2py_ajax_init('#'+target);
if(command) eval(command); if(command)
if(flash) jQuery('.flash').html(flash).slideDown(); eval(decodeURIComponent(escape(command)));
if(flash)
jQuery('.flash').html(decodeURIComponent(escape(flash))).slideDown();
} }
}); });
} }