Skip to content

Commit e5355b5

Browse files
committed
fixes web2py#1407, encouraging a sane default
1 parent 075f493 commit e5355b5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

applications/admin/views/web2py_ajax.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}";
55
var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}";
66
var w2p_ajax_disable_with_message = "{{=T('Working...')}}";
7-
var ajax_error_500 = '{{=T.M('An error occured, please [[reload %s]] the page') % URL(args=request.args, vars=request.get_vars) }}'
7+
var ajax_error_500 = "{{=T.M('An error occured, please [[reload %s]] the page') % URL(args=request.args, vars=request.get_vars) }}"
88
//--></script>
99
{{
1010
response.files.insert(0,URL('static','js/jquery.js'))

applications/examples/views/web2py_ajax.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var w2p_ajax_confirm_message = "{{=T('Are you sure you want to delete this object?')}}";
44
var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}";
55
var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}";
6-
var ajax_error_500 = '{{=T.M('An error occured, please [[reload %s]] the page') % URL(args=request.args, vars=request.get_vars) }}'
6+
var ajax_error_500 = "{{=T.M('An error occured, please [[reload %s]] the page') % URL(args=request.args, vars=request.get_vars) }}"
77
//--></script>
88
{{
99
response.files.insert(0,URL('static','js/jquery.js'))

applications/welcome/views/web2py_ajax.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var w2p_ajax_disable_with_message = "{{=T('Working...')}}";
55
var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}";
66
var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}";
7-
var ajax_error_500 = '{{=T.M('An error occured, please [[reload %s]] the page') % URL(args=request.args, vars=request.get_vars) }}'
7+
var ajax_error_500 = "{{=T.M('An error occured, please [[reload %s]] the page') % URL(args=request.args, vars=request.get_vars) }}"
88
//--></script>
99
{{
1010
response.files.insert(0,URL('static','js/jquery.js'))

0 commit comments

Comments
 (0)