|
|
@ -11,7 +11,8 @@ BI.NodeButton = BI.inherit(BI.BasicButton, { |
|
|
|
var conf = BI.NodeButton.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.NodeButton.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
_baseCls: (conf._baseCls || "") + " bi-node", |
|
|
|
_baseCls: (conf._baseCls || "") + " bi-node", |
|
|
|
open: false |
|
|
|
open: false, |
|
|
|
|
|
|
|
once: false, |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -27,10 +28,6 @@ BI.NodeButton = BI.inherit(BI.BasicButton, { |
|
|
|
this.setOpened(!this.isOpened()); |
|
|
|
this.setOpened(!this.isOpened()); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
isOnce: function () { |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
isOpened: function () { |
|
|
|
isOpened: function () { |
|
|
|
return !!this.options.open; |
|
|
|
return !!this.options.open; |
|
|
|
}, |
|
|
|
}, |
|
|
|