Browse Source

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

* commit 'f1fad2ab01b11fa41d573ee77b1343552ddeaaab':
  basicButton enable处理
master
windy 7 years ago
parent
commit
77eb7ca4f3
  1. 3
      bi/base.js
  2. 3
      docs/base.js
  3. 3
      src/base/single/button/button.basic.js

3
bi/base.js

@ -807,6 +807,9 @@ BI.BasicButton = BI.inherit(BI.Single, {
_trigger: function () {
var o = this.options;
if(!this.isEnabled()){
return;
}
if (!this.isDisableSelected()) {
this.isForceSelected() ? this.setSelected(true) :
(this.isForceNotSelected() ? this.setSelected(false) :

3
docs/base.js

@ -807,6 +807,9 @@ BI.BasicButton = BI.inherit(BI.Single, {
_trigger: function () {
var o = this.options;
if(!this.isEnabled()){
return;
}
if (!this.isDisableSelected()) {
this.isForceSelected() ? this.setSelected(true) :
(this.isForceNotSelected() ? this.setSelected(false) :

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

@ -220,6 +220,9 @@ BI.BasicButton = BI.inherit(BI.Single, {
_trigger: function () {
var o = this.options;
if(!this.isEnabled()){
return;
}
if (!this.isDisableSelected()) {
this.isForceSelected() ? this.setSelected(true) :
(this.isForceNotSelected() ? this.setSelected(false) :

Loading…
Cancel
Save