better reporting of 500 ajax errors, issue 832, thanks Paolo Velleri

This commit is contained in:
mdipierro committed 2012-12-24 11:21:37 -06:00
1 parent 2d5f558b54
commit 6fc307cf7b
7 files changed
+25 -1

No files matched your search

@@ -3,6 +3,7 @@
var w2p_ajax_confirm_message = "{{=T('Are you sure you want to delete this object?')}}";
var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}";
var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}";
var ajax_error_500 = '{{=XML(T('An error occured, please %s the page') % A(T('reload'), _href=URL(args=request.args, vars=request.vars))) }}'
//--></script>
{{
response.files.insert(0,URL('static','js/jquery.js'))