summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TInlineFrame.php
diff options
context:
space:
mode:
authorxue <>2006-03-14 18:44:58 +0000
committerxue <>2006-03-14 18:44:58 +0000
commit201af25bb9e58017dd5a487ff14322c56054c1c5 (patch)
tree37ca5fd93d8bbee6b82fd689778912a21664c4fd /framework/Web/UI/WebControls/TInlineFrame.php
parent7770c298450237e092d6d801fd547609ba2db230 (diff)
Fixed #89
Diffstat (limited to 'framework/Web/UI/WebControls/TInlineFrame.php')
-rw-r--r--framework/Web/UI/WebControls/TInlineFrame.php4
1 files changed, 2 insertions, 2 deletions
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');