mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +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)
|
if($('#MESSAGE').length === 0)
|
||||||
$('body').append('<div id="#MESSAGE"></div>');
|
$('body').append('<div id="#MESSAGE"></div>');
|
||||||
|
Reference in New Issue
Block a user