From d443f124b1ee2e1e31386d6b3cd40495452e7727 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 20 Aug 2015 17:18:48 +0000 Subject: [PATCH] Use favorite settings from preference to avoid all the encoding problems Avoids errors in Firefox. (See rev. 53183, 53215, 53244) --- phpgwapi/inc/class.egw_favorites.inc.php | 3 +-- phpgwapi/js/jsapi/app_base.js | 25 +++++++++++++----------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/phpgwapi/inc/class.egw_favorites.inc.php b/phpgwapi/inc/class.egw_favorites.inc.php index ced6315f08..b31de4be1f 100644 --- a/phpgwapi/inc/class.egw_favorites.inc.php +++ b/phpgwapi/inc/class.egw_favorites.inc.php @@ -78,10 +78,9 @@ class egw_favorites error_log(__METHOD__.'Favorite filter is not suppose to be empty, it should be an array. filter = '. array2string($filters[$name])); continue; } - $href = "javascript:app.$app.setState(" . json_encode($filter,JSON_FORCE_OBJECT) . ');'; $li = "