Browse Source

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

* commit '3c0b9fc1bde100f04b11aa7842d9100e04f0784c':
  update
es6
windy 8 years ago
parent
commit
7adef7b92a
  1. 7
      bi/case.js
  2. 7
      docs/case.js
  3. 7
      src/case/layer/pane.list.js

7
bi/case.js

@ -7181,9 +7181,10 @@ BI.ListPane = BI.inherit(BI.Pane, {
this.check(); this.check();
}, },
removeItems: function (items) { removeItemAt: function (indexes) {
BI.remove(this.options.items, items); indexes = indexes || [];
this.button_group.removeItems.apply(this.button_group, arguments); BI.removeAt(this.options.items, indexes);
this.button_group.removeItemAt.apply(this.button_group, arguments);
this.check(); this.check();
}, },

7
docs/case.js

@ -7181,9 +7181,10 @@ BI.ListPane = BI.inherit(BI.Pane, {
this.check(); this.check();
}, },
removeItems: function (items) { removeItemAt: function (indexes) {
BI.remove(this.options.items, items); indexes = indexes || [];
this.button_group.removeItems.apply(this.button_group, arguments); BI.removeAt(this.options.items, indexes);
this.button_group.removeItemAt.apply(this.button_group, arguments);
this.check(); this.check();
}, },

7
src/case/layer/pane.list.js

@ -101,9 +101,10 @@ BI.ListPane = BI.inherit(BI.Pane, {
this.check(); this.check();
}, },
removeItems: function (items) { removeItemAt: function (indexes) {
BI.remove(this.options.items, items); indexes = indexes || [];
this.button_group.removeItems.apply(this.button_group, arguments); BI.removeAt(this.options.items, indexes);
this.button_group.removeItemAt.apply(this.button_group, arguments);
this.check(); this.check();
}, },

Loading…
Cancel
Save