From 05cb2ee272cee073e12f3e211f2acfbe6812353d Mon Sep 17 00:00:00 2001 From: yuri Date: Thu, 18 Aug 2016 17:07:16 +0300 Subject: [PATCH] email: fix move to trash update counts --- client/src/views/email/record/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/email/record/list.js b/client/src/views/email/record/list.js index 62a6d2009e..b91611af9a 100644 --- a/client/src/views/email/record/list.js +++ b/client/src/views/email/record/list.js @@ -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); },