From f923f4cd3c0e4c71e981ac6384f40cbb0b3c0968 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 3 Jul 2006 04:14:34 +0000 Subject: Fixed drop down list javascript problems in IE --- framework/Web/UI/WebControls/TListControl.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'framework/Web/UI/WebControls') diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index b070f26b..bd883590 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -436,7 +436,7 @@ abstract class TListControl extends TDataBoundControl throw new TInvalidDataValueException('listcontrol_selectedindex_invalid',get_class($this),$index); } $this->_cachedSelectedIndex=$index; - if($this->getAdapter() instanceof IListControlAdaptee) + if($this->getAdapter() instanceof IListControlAdapter) $this->getAdapter()->setSelectedIndex($index); } @@ -472,7 +472,7 @@ abstract class TListControl extends TDataBoundControl } } - if($this->getAdapter() instanceof IListControlAdaptee) + if($this->getAdapter() instanceof IListControlAdapter) $this->getAdapter()->setSelectedIndices($indices); } @@ -517,7 +517,7 @@ abstract class TListControl extends TDataBoundControl throw new TInvalidDataValueException('listcontrol_selectedvalue_invalid',get_class($this),$value); } $this->_cachedSelectedValue=$value; - if($this->getAdapter() instanceof IListControlAdaptee) + if($this->getAdapter() instanceof IListControlAdapter) $this->getAdapter()->setSelectedValue($value); } @@ -559,7 +559,7 @@ abstract class TListControl extends TDataBoundControl } } - if($this->getAdapter() instanceof IListControlAdaptee) + if($this->getAdapter() instanceof IListControlAdapter) $this->getAdapter()->setSelectedValues($values); } @@ -590,7 +590,7 @@ abstract class TListControl extends TDataBoundControl $item->setSelected(false); } - if($this->getAdapter() instanceof IListControlAdaptee) + if($this->getAdapter() instanceof IListControlAdapter) $this->getAdapter()->clearSelection(); } -- cgit v1.2.3