Commit 20e4a6a9 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5_officejs_support_request_ui: notify on post comment success

parent 0dd02751
...@@ -222,6 +222,9 @@ ...@@ -222,6 +222,9 @@
} }
}); });
}) })
.push(function () {
return gadget.notifySubmitted({message: "Comment added", status: "success"});
})
.push(function () { .push(function () {
editor.value = ''; editor.value = '';
return gadget.redirect({command: 'reload'}); return gadget.redirect({command: 'reload'});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment