summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-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');