mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
more work for #1368
This commit is contained in:
@@ -163,7 +163,7 @@ define(['composer', 'share'], function(composer, share) {
|
||||
tid: tid
|
||||
}, function(err) {
|
||||
if(err) {
|
||||
return translator.translate('[[topic:post_' + action + '_error]]', app.alertError);
|
||||
app.alertError('[[topic:post_' + action + '_error]]');
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -218,7 +218,7 @@ define(['composer', 'share'], function(composer, share) {
|
||||
|
||||
$('#topicId').val('');
|
||||
|
||||
app.alertSuccess('Post moved!');
|
||||
app.alertSuccess('[[topic:post_moved]]');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -230,9 +230,8 @@ define(['composer', 'share'], function(composer, share) {
|
||||
if(err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
translator.translate('[[topic:flag_success]]', function(message) {
|
||||
app.alertSuccess(message);
|
||||
});
|
||||
|
||||
app.alertSuccess('[[topic:flag_success]]');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user