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

This commit is contained in:
Massimo Di Pierro
2012-06-15 13:17:09 -05:00
parent d3c03601c9
commit 2877daa369
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-06-14 18:47:21) dev
Version 2.00.0 (2012-06-15 13:17:03) dev
+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();
}
});
}
+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();
}
});
}
+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();
}
});
}