guy 4 years ago
parent
commit
dea1705219
  1. 4
      src/base/single/button/button.basic.js

4
src/base/single/button/button.basic.js

@ -389,9 +389,9 @@ BI.BasicButton = BI.inherit(BI.Single, {
return this.options.text; return this.options.text;
}, },
setValue: function (text) { setValue: function (value) {
BI.BasicButton.superclass.setValue.apply(this, arguments); BI.BasicButton.superclass.setValue.apply(this, arguments);
this.options.setText && this.options.setText.call(this, text); this.options.setValue && this.options.setValue.call(this, value);
}, },
_setEnable: function (enable) { _setEnable: function (enable) {

Loading…
Cancel
Save