mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Fixed little issue
This commit is contained in:
parent
a03fc1a745
commit
f67670dc0a
@ -421,7 +421,7 @@ function checkString(value){
|
|||||||
function removeHtmlTags(input){
|
function removeHtmlTags(input){
|
||||||
|
|
||||||
//Check if input string is empty
|
//Check if input string is empty
|
||||||
if(input == null)
|
if(input == null || typeof input !== "string")
|
||||||
return "";
|
return "";
|
||||||
|
|
||||||
//Prepare update
|
//Prepare update
|
||||||
|
@ -22,6 +22,9 @@ ComunicWeb.components.conversations.messageEditor = {
|
|||||||
|
|
||||||
function(content){
|
function(content){
|
||||||
|
|
||||||
|
if(!content)
|
||||||
|
return;
|
||||||
|
|
||||||
//Intend to update message content
|
//Intend to update message content
|
||||||
ComunicWeb.components.conversations.interface.UpdateSingleMessage(
|
ComunicWeb.components.conversations.interface.UpdateSingleMessage(
|
||||||
message.ID,
|
message.ID,
|
||||||
|
Loading…
Reference in New Issue
Block a user