mirror of
https://github.com/NaN-tic/tryton-gtk2.git
synced 2023-12-14 03:12:58 +01:00
Use valid JSON default value for name parameter in URLs
Since changeset 5912d920b36b, the default value is not a valid JSON string. issue6083 review30841002
This commit is contained in:
parent
df10c85aa3
commit
fc44bd7d52
1 changed files with 2 additions and 2 deletions
|
@ -1272,7 +1272,7 @@ class Main(object):
|
|||
try:
|
||||
view_ids = json.loads(params.get('views', 'false'))
|
||||
limit = json.loads(params.get('limit', 'null'))
|
||||
name = json.loads(params.get('name', ''))
|
||||
name = json.loads(params.get('name', '""'))
|
||||
search_value = json.loads(params.get('search_value', '{}'),
|
||||
object_hook=object_hook)
|
||||
domain = json.loads(params.get('domain', '[]'),
|
||||
|
@ -1304,7 +1304,7 @@ class Main(object):
|
|||
direct_print = json.loads(params.get('direct_print', 'false'))
|
||||
email_print = json.loads(params.get('email_print', 'false'))
|
||||
email = json.loads(params.get('email', 'null'))
|
||||
name = json.loads(params.get('name', 'false'))
|
||||
name = json.loads(params.get('name', '""'))
|
||||
window = json.loads(params.get('window', 'false'))
|
||||
context = json.loads(params.get('context', '{}'),
|
||||
object_hook=object_hook)
|
||||
|
|
Loading…
Reference in a new issue