|
|
@ -79,7 +79,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { |
|
|
|
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + self.getName()); |
|
|
|
BI.Widget._renderEngine.createElement(document).unbind("mousedown." + self.getName()); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.content.element.keydown(function () { |
|
|
|
this.content.element.keydown(function () { |
|
|
|
// 水印快速消失
|
|
|
|
// 水印快速消失
|
|
|
|
self._checkWaterMark(); |
|
|
|
self._checkWaterMark(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.content.element.keyup(function (e) { |
|
|
|
this.content.element.keyup(function (e) { |
|
|
@ -111,7 +111,6 @@ BI.TextAreaEditor = BI.inherit(BI.Single, { |
|
|
|
cls: "bi-water-mark textarea-watermark", |
|
|
|
cls: "bi-water-mark textarea-watermark", |
|
|
|
textAlign: "left", |
|
|
|
textAlign: "left", |
|
|
|
whiteSpace: o.scrolly ? "normal" : "nowrap", |
|
|
|
whiteSpace: o.scrolly ? "normal" : "nowrap", |
|
|
|
title: o.watermark, |
|
|
|
|
|
|
|
text: o.watermark, |
|
|
|
text: o.watermark, |
|
|
|
invalid: o.invalid, |
|
|
|
invalid: o.invalid, |
|
|
|
disabled: o.disabled, |
|
|
|
disabled: o.disabled, |
|
|
|