|
|
@ -6,10 +6,10 @@ |
|
|
|
* @extends BI.Trigger |
|
|
|
* @extends BI.Trigger |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
BI.EditorTrigger = BI.inherit(BI.Trigger, { |
|
|
|
BI.EditorTrigger = BI.inherit(BI.Trigger, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function (config) { |
|
|
|
var conf = BI.EditorTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.EditorTrigger.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: (conf.baseCls || "") + " bi-editor-trigger bi-border bi-border-radius", |
|
|
|
baseCls: (conf.baseCls || "") + " bi-editor-trigger bi-border-radius " + (config.simple ? "bi-border-bottom" : "bi-border"), |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
validationChecker: BI.emptyFn, |
|
|
|
validationChecker: BI.emptyFn, |
|
|
|
quitChecker: BI.emptyFn, |
|
|
|
quitChecker: BI.emptyFn, |
|
|
|