只读模式
group, 分享
评论更多问题
博客标签总是存在一个
This commit is contained in:
lealife
2015-06-15 18:01:48 +08:00
parent 7e458bb433
commit 6987a38820
1453 changed files with 114561 additions and 91536 deletions

8
public/tinymce/classes/ui/TextBox.js Normal file → Executable file
View File

@ -68,7 +68,7 @@ define("tinymce/ui/TextBox", [
disabled: function(state) {
var self = this;
if (self._rendered && typeof(state) != 'undefined') {
if (self._rendered && typeof state != 'undefined') {
self.getEl().disabled = state;
}
@ -85,7 +85,7 @@ define("tinymce/ui/TextBox", [
value: function(value) {
var self = this;
if (typeof(value) != "undefined") {
if (typeof value != "undefined") {
self._value = value;
if (self._rendered) {
@ -183,12 +183,12 @@ define("tinymce/ui/TextBox", [
return (
'<textarea id="' + id + '" class="' + self.classes() + '" ' +
(settings.rows ? ' rows="' + settings.rows + '"' : '') +
' hidefocus="true"' + extraAttrs + '>' + value +
' hidefocus="1"' + extraAttrs + '>' + value +
'</textarea>'
);
}
return '<input id="' + id + '" class="' + self.classes() + '" value="' + value + '" hidefocus="true"' + extraAttrs + '>';
return '<input id="' + id + '" class="' + self.classes() + '" value="' + value + '" hidefocus="1"' + extraAttrs + ' />';
},
/**