mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
(js) Improve addressbook create/delete handling
This commit is contained in:
@@ -423,9 +423,7 @@
|
||||
var i = _.indexOf(_.pluck(list, 'id'), _this.id);
|
||||
list.splice(i, 1);
|
||||
d.resolve();
|
||||
}, function(data, status) {
|
||||
d.reject(data);
|
||||
});
|
||||
}, d.reject);
|
||||
return d.promise;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user