Refactoring
This commit is contained in:
parent
5fc4fb4bee
commit
61ea26c70b
|
@ -1097,10 +1097,7 @@ define([
|
||||||
|
|
||||||
updateScroller: function(destroy) {
|
updateScroller: function(destroy) {
|
||||||
if (this.scroller) {
|
if (this.scroller) {
|
||||||
this.scroller.update(destroy ? {
|
this.scroller.update(destroy ? {} : undefined);
|
||||||
suppressScrollX: true,
|
|
||||||
alwaysVisibleY: true
|
|
||||||
} : undefined);
|
|
||||||
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
|
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -968,10 +968,7 @@ define([
|
||||||
|
|
||||||
updateScroller: function(destroy) {
|
updateScroller: function(destroy) {
|
||||||
if (this.scroller) {
|
if (this.scroller) {
|
||||||
this.scroller.update(destroy ? {
|
this.scroller.update(destroy ? {} : undefined);
|
||||||
suppressScrollX: true,
|
|
||||||
alwaysVisibleY: true
|
|
||||||
} : undefined);
|
|
||||||
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
|
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -1809,10 +1809,7 @@ define([
|
||||||
|
|
||||||
updateScroller: function(destroy) {
|
updateScroller: function(destroy) {
|
||||||
if (this.scroller) {
|
if (this.scroller) {
|
||||||
this.scroller.update(destroy ? {
|
this.scroller.update(destroy ? {} : undefined);
|
||||||
suppressScrollX: true,
|
|
||||||
alwaysVisibleY: true
|
|
||||||
} : undefined);
|
|
||||||
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
|
this.pnlInfo.toggleClass('bordered', this.scroller.isVisible());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue