mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-10 20:14:16 +02:00
fix(forums): fixed topic replies content issues when edit
This commit is contained in:
@@ -181,6 +181,7 @@
|
||||
t.content = e.getContent();
|
||||
t.$update(function (res) {
|
||||
vm.topic = res;
|
||||
vm.figureOutItemsToDisplay();
|
||||
NotifycationService.showSuccessNotify('FORUMS.TOPIC_EDIT_SUCCESSFULLY');
|
||||
}, function (res) {
|
||||
NotifycationService.showErrorNotify(res.data.message, 'FORUMS.TOPIC_EDIT_FAILED');
|
||||
@@ -242,6 +243,7 @@
|
||||
|
||||
rep.$update(function (res) {
|
||||
vm.topic = res;
|
||||
vm.figureOutItemsToDisplay();
|
||||
NotifycationService.showSuccessNotify('FORUMS.REPLY_EDIT_SUCCESSFULLY');
|
||||
}, function (res) {
|
||||
NotifycationService.showErrorNotify(res.data.message, 'FORUMS.FORUMS');
|
||||
|
||||
Reference in New Issue
Block a user