summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TActivePager.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-04-03 08:18:19 +0200
committerFabio Bas <ctrlaltca@gmail.com>2014-04-03 08:18:38 +0200
commit6784c512fdccd03aee8864b7c94758909d3cd3d0 (patch)
treea4a719afb3eeb6aea0c506ee22c00350ef430bfa /framework/Web/UI/ActiveControls/TActivePager.php
parentaeddeb9e8123e264de3be28bce3ff87a4685ad52 (diff)
Respect ButtonCssClass property in TActivePager. fix #511
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActivePager.php')
-rw-r--r--framework/Web/UI/ActiveControls/TActivePager.php2
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(