|
|
@ -80,8 +80,6 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
watermark: o.watermark, |
|
|
|
watermark: o.watermark, |
|
|
|
allowBlank: o.allowBlank, |
|
|
|
allowBlank: o.allowBlank, |
|
|
|
value: o.max, |
|
|
|
value: o.max, |
|
|
|
level: "warning", |
|
|
|
|
|
|
|
tipType: "success", |
|
|
|
|
|
|
|
title: function () { |
|
|
|
title: function () { |
|
|
|
return self.bigEditor && self.bigEditor.getValue(); |
|
|
|
return self.bigEditor && self.bigEditor.getValue(); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -113,22 +111,6 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
right: 5 |
|
|
|
right: 5 |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// this.smallCombo = BI.createWidget({
|
|
|
|
|
|
|
|
// type: "bi.number_interval_combo",
|
|
|
|
|
|
|
|
// cls: "number-interval-small-combo",
|
|
|
|
|
|
|
|
// height: o.height,
|
|
|
|
|
|
|
|
// value: o.closemin ? 1 : 0,
|
|
|
|
|
|
|
|
// offsetStyle: "left"
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// this.bigCombo = BI.createWidget({
|
|
|
|
|
|
|
|
// type: "bi.number_interval_combo",
|
|
|
|
|
|
|
|
// cls: "number-interval-big-combo",
|
|
|
|
|
|
|
|
// height: o.height,
|
|
|
|
|
|
|
|
// value: o.closemax ? 1 : 0,
|
|
|
|
|
|
|
|
// offsetStyle: "left"
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
this.smallCombo = BI.createWidget({ |
|
|
|
this.smallCombo = BI.createWidget({ |
|
|
|
type: "bi.icon_combo", |
|
|
|
type: "bi.icon_combo", |
|
|
|
cls: "number-interval-small-combo bi-border-top bi-border-bottom bi-border-right", |
|
|
|
cls: "number-interval-small-combo bi-border-top bi-border-bottom bi-border-right", |
|
|
@ -301,10 +283,7 @@ BI.NumberInterval = BI.inherit(BI.Single, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_setTitle: function (v) { |
|
|
|
_setTitle: function (v) { |
|
|
|
var self = this; |
|
|
|
this.label.setTitle(v); |
|
|
|
self.bigEditor.setTitle(v); |
|
|
|
|
|
|
|
self.smallEditor.setTitle(v); |
|
|
|
|
|
|
|
self.label.setTitle(v); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_setFocusEvent: function (w) { |
|
|
|
_setFocusEvent: function (w) { |
|
|
|