mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Reduce too long conversation names.
This commit is contained in:
parent
8eadb03d59
commit
ee2689ad84
@ -385,6 +385,10 @@ ComunicWeb.components.conversations.chatWindows = {
|
||||
*/
|
||||
changeName: function(newName, infos){
|
||||
|
||||
//Reduce new name
|
||||
if(newName.length > 18)
|
||||
newName = newName.slice(0, 17) + "...";
|
||||
|
||||
//Empty name field
|
||||
emptyElem(infos.boxTitle);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user