forked from extern/egroupware
Remove unneeded decodeURI() to avoid problems with addressbook advanced search
This commit is contained in:
parent
6d9f083874
commit
a6d484a11c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user