imporved web2py.js no longer escapes flash and commands in headers

This commit is contained in:
Massimo Di Pierro committed 2012-06-15 13:17:09 -05:00
1 parent 267d189fe2
commit 971a0751ee
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -95,9 +95,9 @@ function web2py_ajax_page(method, action, data, target) {
web2py_trap_link(target);
web2py_ajax_init('#'+target);
if(command)
eval(decodeURIComponent(escape(command)));
eval(decodeURIComponent(command));
if(flash)
jQuery('.flash').html(decodeURIComponent(escape(flash))).slideDown();
jQuery('.flash').html(decodeURIComponent(flash)).slideDown();
}
});
}