From 7cddf0b0f093271b718da6e428c230ff5db3d73b Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 27 Apr 2017 11:52:53 +0800 Subject: [PATCH] add --- bi/widget.js | 4 ++-- docs/widget.js | 4 ++-- src/widget/sequencetable/listnumber.sequencetable.js | 2 +- src/widget/sequencetable/treenumber.sequencetable.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index 0bcb9fec08..3bb84441c3 100644 --- a/bi/widget.js +++ b/bi/widget.js @@ -322,7 +322,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, @@ -15870,7 +15870,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, diff --git a/docs/widget.js b/docs/widget.js index 0bcb9fec08..3bb84441c3 100644 --- a/docs/widget.js +++ b/docs/widget.js @@ -322,7 +322,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, @@ -15870,7 +15870,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, diff --git a/src/widget/sequencetable/listnumber.sequencetable.js b/src/widget/sequencetable/listnumber.sequencetable.js index fb8c57eb4c..813f961f41 100644 --- a/src/widget/sequencetable/listnumber.sequencetable.js +++ b/src/widget/sequencetable/listnumber.sequencetable.js @@ -159,7 +159,7 @@ BI.SequenceTableListNumber = BI.inherit(BI.Widget, { }, _populate: function () { - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); }, diff --git a/src/widget/sequencetable/treenumber.sequencetable.js b/src/widget/sequencetable/treenumber.sequencetable.js index 9de53c08c0..5965bee775 100644 --- a/src/widget/sequencetable/treenumber.sequencetable.js +++ b/src/widget/sequencetable/treenumber.sequencetable.js @@ -322,7 +322,7 @@ BI.SequenceTableTreeNumber = BI.inherit(BI.Widget, { task.apply(self); }); this.tasks = []; - this.header.populate && this.header.populate(); + this.header.populate(); this._layout(); this._calculateChildrenToRender(); },