diff --git a/library/ZendAfi/View/Helper/Button.php b/library/ZendAfi/View/Helper/Button.php index fb43bb5933316da333dda0e6ef12ab1ad7232212..f4c518a3e736df311c11891fa3b295796ceb525b 100644 --- a/library/ZendAfi/View/Helper/Button.php +++ b/library/ZendAfi/View/Helper/Button.php @@ -50,7 +50,7 @@ class ZendAfi_View_Helper_Button extends ZendAfi_View_Helper_BaseHelper { return $this; $button->setAttribs(array_merge($button->getAttribs(), - ['onclick' => sprintf('window.location.href = \'%s\';return false;', + ['onclick' => sprintf('window.location.href = \'%s\';', $button->getUrl())])); return $this; }