mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Fixed little issue
This commit is contained in:
		@@ -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,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user