mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-21 21:38:54 +01:00
using JSON.stringfy() directly gave a crash in Safari 7.0.4
This commit is contained in:
parent
66e5004591
commit
843b12b357
@ -300,7 +300,8 @@ app.classes.mail = AppJS.extend(
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Make sure keys match, even if some filters are not defined
|
// Make sure keys match, even if some filters are not defined
|
||||||
return JSON.stringify({
|
// using JSON.stringfy() directly gave a crash in Safari 7.0.4
|
||||||
|
return this.egw.jsonEncode({
|
||||||
selectedFolder: query_context.self._filters.selectedFolder || '',
|
selectedFolder: query_context.self._filters.selectedFolder || '',
|
||||||
filter: query_context.self._filters.filter || '',
|
filter: query_context.self._filters.filter || '',
|
||||||
filter2: query_context.self._filters.filter2 || '',
|
filter2: query_context.self._filters.filter2 || '',
|
||||||
|
Loading…
Reference in New Issue
Block a user