diff --git a/apps/common/main/lib/view/AutoCorrectDialog.js b/apps/common/main/lib/view/AutoCorrectDialog.js index 48a9ca33a..fded9b49c 100644 --- a/apps/common/main/lib/view/AutoCorrectDialog.js +++ b/apps/common/main/lib/view/AutoCorrectDialog.js @@ -134,8 +134,8 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template', template: _.template(['
'].join('')), itemTemplate: _.template([ '
', - '
<%= replaced %>
', - '
<%= by %>
', + '
<%= replaced %>
', + '
<%= by %>
', '
' ].join('')), scrollAlwaysVisible: true @@ -146,6 +146,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template', el : $window.find('#auto-correct-replace'), allowBlank : true, validateOnChange : true, + maxLength : 31, validation : function () { return true; } }).on ('changing', function (input, value) { var _selectedItem; @@ -186,6 +187,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template', el : $window.find('#auto-correct-by'), allowBlank : true, validateOnChange : true, + maxLength : 255, validation : function () { return true; } }).on ('changing', function (input, value) { me.updateControls(); @@ -216,7 +218,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template', simpleAddMode: false, template: _.template(['
'].join('')), itemTemplate: _.template([ - '
<%= value %>
' + '
<%= value %>
' ].join('')), scrollAlwaysVisible: true }); @@ -226,6 +228,7 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template', el : $window.find('#auto-correct-rec-find'), allowBlank : true, validateOnChange : true, + maxLength : 255, validation : function () { return true; } }).on ('changing', function (input, value) { var _selectedItem;