mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
Merge pull request #844 from romainneutron/fix-1626
[3.8] Fix #1626 : FTP test displays empty message
This commit is contained in:
@@ -777,10 +777,10 @@
|
||||
var options = {
|
||||
size : 'Alert',
|
||||
closeButton: true,
|
||||
title : '{% trans "Warning !" %}'
|
||||
title : data.success ? '{% trans "Success !" %}' : '{% trans "Warning !" %}'
|
||||
};
|
||||
|
||||
p4.Dialog.Create(options, 2).setContent(data);
|
||||
p4.Dialog.Create(options, 2).setContent(data.message);
|
||||
|
||||
$this.removeAttr('disabled');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user