mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-24 10:54:05 +01:00
Generic transport editor. (#1309)
Generic transport editor. see #1301 * Fixed unit test. * Added unit tests. * Fixed unit test. * Added transport module to test list. * Moved relay transport backend to appropriate app. see #1301 * Added missing file.
This commit is contained in:
@@ -188,8 +188,8 @@ function simple_ajax_form_post(e, options) {
|
||||
histomanager.update(true);
|
||||
}
|
||||
}
|
||||
if (data) {
|
||||
$("body").notify('success', data, 2000);
|
||||
if (data && data.message) {
|
||||
$("body").notify('success', data.message, 2000);
|
||||
}
|
||||
}).fail(function(jqxhr) {
|
||||
var data = $.parseJSON(jqxhr.responseText);
|
||||
|
||||
Reference in New Issue
Block a user