diff options
author | xue <> | 2006-03-09 13:02:31 +0000 |
---|---|---|
committer | xue <> | 2006-03-09 13:02:31 +0000 |
commit | e583d7984a570ba553a3ebf65401dfce44ee261f (patch) | |
tree | 16ca0e5d7ad8b11b4a564d42a0cbe65df89aa73f | |
parent | f1cf062710ae5fba098b2775949a083f7457e82b (diff) |
Fixed #85.
-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";
|