From 201af25bb9e58017dd5a487ff14322c56054c1c5 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 14 Mar 2006 18:44:58 +0000 Subject: Fixed #89 --- framework/Web/UI/WebControls/TInlineFrame.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web') diff --git a/framework/Web/UI/WebControls/TInlineFrame.php b/framework/Web/UI/WebControls/TInlineFrame.php index 0bc38c30..5b0be90c 100644 --- a/framework/Web/UI/WebControls/TInlineFrame.php +++ b/framework/Web/UI/WebControls/TInlineFrame.php @@ -181,9 +181,9 @@ class TInlineFrame extends TWebControl $scrollBars=$this->getScrollBars(); if($scrollBars==='None') - $writer->addAttribute('scrolling','yes'); - else if($scrollBars==='Both') $writer->addAttribute('scrolling','no'); + else if($scrollBars==='Both') + $writer->addAttribute('scrolling','yes'); if (!$this->getShowBorder()) $writer->addAttribute('frameborder','0'); -- cgit v1.2.3