Fixed little issue

This commit is contained in:
Pierre HUBERT 2019-01-20 19:40:29 +01:00
parent a03fc1a745
commit f67670dc0a
2 changed files with 4 additions and 1 deletions

View File

@ -421,7 +421,7 @@ function checkString(value){
function removeHtmlTags(input){
//Check if input string is empty
if(input == null)
if(input == null || typeof input !== "string")
return "";
//Prepare update

View File

@ -22,6 +22,9 @@ ComunicWeb.components.conversations.messageEditor = {
function(content){
if(!content)
return;
//Intend to update message content
ComunicWeb.components.conversations.interface.UpdateSingleMessage(
message.ID,