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

This commit is contained in:
Nathan Gray 2015-08-12 17:50:41 +00:00
parent 6d9f083874
commit a6d484a11c

View File

@ -386,7 +386,7 @@ var AppJS = Class.extend(
if (matches && matches.length > 1 && matches[2] !== undefined)
{
event.stopImmediatePropagation();
self.setState.call(self, JSON.parse(decodeURI(matches[2])));
self.setState.call(self, JSON.parse(matches[2]));
return false;
}
})
@ -769,7 +769,7 @@ var AppJS = Class.extend(
var favorite = {}
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;