Fix for #2097 (Quotes are now handled properly in UI-editable tables)
This commit is contained in:
parent
afa585eb65
commit
d25cfb7499
|
@ -888,7 +888,7 @@ def list_restriction(res_type, user_id):
|
|||
else:
|
||||
json_dumps = ""
|
||||
js = json.dumps(json_dumps)
|
||||
response = make_response(js.replace("'", '"'))
|
||||
response = make_response(js) #.replace("'", '"')
|
||||
response.headers["Content-Type"] = "application/json; charset=utf-8"
|
||||
return response
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -610,6 +610,7 @@ function checkboxFormatter(value, row){
|
|||
else
|
||||
return '<input type="checkbox" class="chk" data-pk="' + row.id + '" data-name="' + this.field + '" onchange="checkboxChange(this, ' + row.id + ', \'' + this.name + '\', ' + this.column + ')">';
|
||||
}
|
||||
|
||||
function singlecheckboxFormatter(value, row){
|
||||
if(value)
|
||||
return '<input type="checkbox" class="chk" data-pk="' + row.id + '" data-name="' + this.field + '" checked onchange="checkboxChange(this, ' + row.id + ', \'' + this.name + '\', 0)">';
|
||||
|
|
Loading…
Reference in New Issue
Block a user