email: fix move to trash update counts

This commit is contained in:
yuri
2016-08-18 17:07:16 +03:00
parent f896a2d71a
commit 05cb2ee272
+1 -1
View File
@@ -150,8 +150,8 @@ Espo.define('views/email/record/list', 'views/record/list', function (Dep) {
});
ids.forEach(function (id) {
this.removeRecordFromList(id);
this.collection.trigger('moving-to-trash', id);
this.removeRecordFromList(id);
}, this);
},