Browse Source

Merge pull request #24 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit '32e7bc09ba9f172e61a479fdd32915ca307e77bd':
  buttongroup的remove
es6
windy 8 years ago
parent
commit
52a71497c3
  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