diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-04-03 08:18:19 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2014-04-03 08:18:38 +0200 |
commit | 6784c512fdccd03aee8864b7c94758909d3cd3d0 (patch) | |
tree | a4a719afb3eeb6aea0c506ee22c00350ef430bfa /framework | |
parent | aeddeb9e8123e264de3be28bce3ff87a4685ad52 (diff) |
Respect ButtonCssClass property in TActivePager. fix #511
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/ActiveControls/TActivePager.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TActivePager.php b/framework/Web/UI/ActiveControls/TActivePager.php index b49faa37..078bd5be 100644 --- a/framework/Web/UI/ActiveControls/TActivePager.php +++ b/framework/Web/UI/ActiveControls/TActivePager.php @@ -124,6 +124,7 @@ class TActivePager extends TPager implements IActiveControl, ICallbackEventHandl { $button=new TLabel; $button->setText($text); + $button->setCssClass($this->getButtonCssClass()); return $button; } } @@ -152,6 +153,7 @@ class TActivePager extends TPager implements IActiveControl, ICallbackEventHandl $button->setCommandName($commandName); $button->setCommandParameter($commandParameter); $button->setCausesValidation(false); + $button->setCssClass($this->getButtonCssClass()); $button->attachEventHandler('OnCallback', array($this, 'handleCallback')); $button->getAdapter()->getBaseActiveControl()->setClientSide( |