From a31c95cfdb23a9dd068759249389c4a9c0734511 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 19 Mar 2006 16:24:35 +0000 Subject: Update datagrid samples in respect to the new change to TDataGrid. --- framework/Web/UI/WebControls/TPanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TPanel.php') diff --git a/framework/Web/UI/WebControls/TPanel.php b/framework/Web/UI/WebControls/TPanel.php index 4e010ed2..5f99edf5 100644 --- a/framework/Web/UI/WebControls/TPanel.php +++ b/framework/Web/UI/WebControls/TPanel.php @@ -429,7 +429,7 @@ class TPanelStyle extends TStyle public function mergeWith($style) { parent::mergeWith($style); - if($style instanceof TTableStyle) + if($style instanceof TPanelStyle) { if($this->_backImageUrl===null && $style->_backImageUrl!==null) $this->_backImageUrl=$style->_backImageUrl; -- cgit v1.2.3