imporved web2py.js no longer escapes flash and commands in headers
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-06-14 18:47:21) dev
|
Version 2.00.0 (2012-06-15 13:17:03) dev
|
||||||
|
|||||||
@@ -95,9 +95,9 @@ function web2py_ajax_page(method, action, data, target) {
|
|||||||
web2py_trap_link(target);
|
web2py_trap_link(target);
|
||||||
web2py_ajax_init('#'+target);
|
web2py_ajax_init('#'+target);
|
||||||
if(command)
|
if(command)
|
||||||
eval(decodeURIComponent(escape(command)));
|
eval(decodeURIComponent(command));
|
||||||
if(flash)
|
if(flash)
|
||||||
jQuery('.flash').html(decodeURIComponent(escape(flash))).slideDown();
|
jQuery('.flash').html(decodeURIComponent(flash)).slideDown();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,9 +95,9 @@ function web2py_ajax_page(method, action, data, target) {
|
|||||||
web2py_trap_link(target);
|
web2py_trap_link(target);
|
||||||
web2py_ajax_init('#'+target);
|
web2py_ajax_init('#'+target);
|
||||||
if(command)
|
if(command)
|
||||||
eval(decodeURIComponent(escape(command)));
|
eval(decodeURIComponent(command));
|
||||||
if(flash)
|
if(flash)
|
||||||
jQuery('.flash').html(decodeURIComponent(escape(flash))).slideDown();
|
jQuery('.flash').html(decodeURIComponent(flash)).slideDown();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,9 +95,9 @@ function web2py_ajax_page(method, action, data, target) {
|
|||||||
web2py_trap_link(target);
|
web2py_trap_link(target);
|
||||||
web2py_ajax_init('#'+target);
|
web2py_ajax_init('#'+target);
|
||||||
if(command)
|
if(command)
|
||||||
eval(decodeURIComponent(escape(command)));
|
eval(decodeURIComponent(command));
|
||||||
if(flash)
|
if(flash)
|
||||||
jQuery('.flash').html(decodeURIComponent(escape(flash))).slideDown();
|
jQuery('.flash').html(decodeURIComponent(flash)).slideDown();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user