mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
Disbale message if empty
This commit is contained in:
@@ -409,7 +409,7 @@ function manageSession(data, showMessages)
|
||||
}
|
||||
}
|
||||
}
|
||||
if(data.message !== false)
|
||||
if('' !== $.trim(data.message))
|
||||
{
|
||||
if($('#MESSAGE').length === 0)
|
||||
$('body').append('<div id="#MESSAGE"></div>');
|
||||
|
Reference in New Issue
Block a user