v1.0
只读模式 group, 分享 评论更多问题 博客标签总是存在一个
This commit is contained in:
8
public/tinymce/classes/ui/TextBox.js
Normal file → Executable file
8
public/tinymce/classes/ui/TextBox.js
Normal file → Executable 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 + ' />';
|
||||
},
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user