diff options
-rw-r--r-- | framework/Web/UI/WebControls/TDataGrid.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TRatingList.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index b70e84fc..5b4d22ac 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -627,7 +627,7 @@ class TDataGrid extends TBaseDataList implements INamingContainer $command=$param->getCommandName();
if(strcasecmp($command,'select')===0)
{
- $this->setSelectedIndex($param->getItem()->getItemIndex());
+ $this->setSelectedItemIndex($param->getItem()->getItemIndex());
$this->onSelectedIndexChanged(null);
return true;
}
diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php index 6397660f..6f382d31 100644 --- a/framework/Web/UI/WebControls/TRatingList.php +++ b/framework/Web/UI/WebControls/TRatingList.php @@ -129,7 +129,6 @@ class TRatingList extends TRadioButtonList protected function publishRatingListImages($style, $fileExt='.gif')
{
- $cs = $this->getPage()->getClientScript();
$images['blank'] = "System.Web.Javascripts.ratings.{$style}_blank";
$images['hover'] = "System.Web.Javascripts.ratings.{$style}_hover";
$images['selected'] = "System.Web.Javascripts.ratings.{$style}_selected";
|