From 843b12b35757ac0a475ddc92abaca8c9478bacff Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Aug 2014 18:28:28 +0000 Subject: [PATCH] using JSON.stringfy() directly gave a crash in Safari 7.0.4 --- mail/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index b22ecc0cb4..100ab335cc 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -300,7 +300,8 @@ app.classes.mail = AppJS.extend( ) { // 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 || '', filter: query_context.self._filters.filter || '', filter2: query_context.self._filters.filter2 || '',