projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acd83cf
)
Roo/TabPanel.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:47:46 +0000
(17:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:47:46 +0000
(17:47 +0800)
Roo/TabPanel.js
patch
|
blob
|
history
diff --git
a/Roo/TabPanel.js
b/Roo/TabPanel.js
index
eed0a9f
..
e702b2f
100644
(file)
--- a/
Roo/TabPanel.js
+++ b/
Roo/TabPanel.js
@@
-404,7
+404,9
@@
Roo.extend(Roo.TabPanel, Roo.util.Observable, {
setTabWidth : function(width){
this.currentTabWidth = width;
for(var i = 0, len = this.items.length; i < len; i++) {
- if(!this.items[i].isHidden())this.items[i].setWidth(width);
+ if(!this.items[i].isHidden()) {
+ this.items[i].setWidth(width);
+ }
}
},