Remove unneeded decodeURI() to avoid problems with addressbook advanced search

This commit is contained in:
Nathan Gray 2015-07-27 21:43:05 +00:00
parent ba911171de
commit 46c0817743

View File

@ -769,7 +769,7 @@ var AppJS = Class.extend(
var favorite = {} var favorite = {}
if (matches && matches.length > 1 && matches[2] !== undefined) if (matches && matches.length > 1 && matches[2] !== undefined)
{ {
favorite = JSON.parse(decodeURI(matches[2])); favorite = JSON.parse(matches[2]);
} }
if(!favorite || jQuery.isEmptyObject(favorite)) return; if(!favorite || jQuery.isEmptyObject(favorite)) return;