Skip to content
Snippets Groups Projects
Commit d18c47d2 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

show error when sending a message fails

parent 8298bb4e
No related branches found
No related tags found
No related merge requests found
......@@ -208,8 +208,8 @@ define(function(require) {
defer.resolve(data);
},
error: function() {
defer.reject();
error: function(xhr) {
defer.reject(xhr);
},
data: {
to: message.to,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment