mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 09:58:51 +00:00
Fixed little issue
This commit is contained in:
parent
a03fc1a745
commit
f67670dc0a
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user