* commit '84ce0bce7d76d3416153741ab571c4c17e4d80ac': buttongroup的removeAt方法写错了
@ -1135,7 +1135,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
},
removeItemAt: function (indexes) {
BI.remove(this.buttons, indexes);
BI.removeAt(this.buttons, indexes);
this.layouts.removeItemAt(indexes);
@ -7181,6 +7181,12 @@ BI.ListPane = BI.inherit(BI.Pane, {
this.check();
removeItems: function (items) {
BI.remove(this.options.items, items);
this.button_group.removeItems.apply(this.button_group, arguments);
populate: function (items) {
var self = this, o = this.options;
if (arguments.length === 0 && (BI.isFunction(this.button_group.attr("itemsCreator")))) {//接管loader的populate方法
@ -158,7 +158,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
@ -101,6 +101,12 @@ BI.ListPane = BI.inherit(BI.Pane, {