diff --git a/bi/base.js b/bi/base.js index 8e7faa0976..c798fc2cb6 100644 --- a/bi/base.js +++ b/bi/base.js @@ -1114,7 +1114,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, { deleted.push(i); } }); - BI.remove(this.buttons, deleted); + BI.removeAt(this.buttons, deleted); this.layouts.removeItemAt(deleted); }, diff --git a/docs/base.js b/docs/base.js index 8e7faa0976..c798fc2cb6 100644 --- a/docs/base.js +++ b/docs/base.js @@ -1114,7 +1114,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, { deleted.push(i); } }); - BI.remove(this.buttons, deleted); + BI.removeAt(this.buttons, deleted); this.layouts.removeItemAt(deleted); }, diff --git a/src/base/combination/group.button.js b/src/base/combination/group.button.js index 353f18cd0f..d303feeebd 100644 --- a/src/base/combination/group.button.js +++ b/src/base/combination/group.button.js @@ -170,7 +170,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, { deleted.push(i); } }); - BI.remove(this.buttons, deleted); + BI.removeAt(this.buttons, deleted); this.layouts.removeItemAt(deleted); },