Small fixes

This commit is contained in:
RainLoop Team 2014-10-30 03:27:13 +04:00
parent 25c56937f6
commit ff2cd091db
29 changed files with 114 additions and 120 deletions

View file

@ -921,8 +921,8 @@
this.editor(function (oEditor) {
oEditor.setHtml(sText, false);
if (Enums.EditorDefaultType.PlainForce === Data.editorDefaultType() ||
(!oMessage.isHtml() && Enums.EditorDefaultType.HtmlForce !== Data.editorDefaultType()))
if (Enums.EditorDefaultType.PlainForced === Data.editorDefaultType() ||
(!oMessage.isHtml() && Enums.EditorDefaultType.HtmlForced !== Data.editorDefaultType()))
{
oEditor.modeToggle(false);
}
@ -942,7 +942,7 @@
this.editor(function (oEditor) {
oEditor.setHtml(sText, false);
if (Enums.EditorDefaultType.Html !== Data.editorDefaultType() &&
Enums.EditorDefaultType.HtmlForce !== Data.editorDefaultType())
Enums.EditorDefaultType.HtmlForced !== Data.editorDefaultType())
{
oEditor.modeToggle(false);
}