Browse Source

buttongroup的remove

es6
windy 8 years ago
parent
commit
32e7bc09ba
  1. 2
      bi/base.js
  2. 2
      docs/base.js
  3. 2
      src/base/combination/group.button.js

2
bi/base.js

@ -1114,7 +1114,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
deleted.push(i); deleted.push(i);
} }
}); });
BI.remove(this.buttons, deleted); BI.removeAt(this.buttons, deleted);
this.layouts.removeItemAt(deleted); this.layouts.removeItemAt(deleted);
}, },

2
docs/base.js

@ -1114,7 +1114,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
deleted.push(i); deleted.push(i);
} }
}); });
BI.remove(this.buttons, deleted); BI.removeAt(this.buttons, deleted);
this.layouts.removeItemAt(deleted); this.layouts.removeItemAt(deleted);
}, },

2
src/base/combination/group.button.js

@ -170,7 +170,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, {
deleted.push(i); deleted.push(i);
} }
}); });
BI.remove(this.buttons, deleted); BI.removeAt(this.buttons, deleted);
this.layouts.removeItemAt(deleted); this.layouts.removeItemAt(deleted);
}, },

Loading…
Cancel
Save