diff options
-rw-r--r-- | framework/Web/UI/ActiveControls/TActiveHyperLink.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveHyperLink.php b/framework/Web/UI/ActiveControls/TActiveHyperLink.php index e92c1b19..fad9e140 100644 --- a/framework/Web/UI/ActiveControls/TActiveHyperLink.php +++ b/framework/Web/UI/ActiveControls/TActiveHyperLink.php @@ -82,7 +82,8 @@ class TActiveHyperLink extends THyperLink implements IActiveControl parent::setNavigateUrl($value); if($this->getActiveControl()->canUpdateClientSide()) { - $url = str_replace('&', '&', $value); //for placing url, we need to strip out the & + //replace & with & and urldecode the url (setting the href using javascript is literal) + $url = urldecode(str_replace('&', '&', $value)); $this->getPage()->getCallbackClient()->setAttribute($this, 'href', $url); } } |