From b07d95c6d487f9c761f463c9dc2247fcaf6ae434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 18 Aug 2018 23:02:10 +0200 Subject: [PATCH] Call switch callback when setting current record issue7614 review54301002 --- src/screen.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/screen.js b/src/screen.js index 57797fd561..91cbcce0d7 100644 --- a/src/screen.js +++ b/src/screen.js @@ -1076,6 +1076,9 @@ this.search_count, record_id]; this.message_callback(data); } + if (this.switch_callback) { + this.switch_callback(); + } if (this.tab) { if (record) { record.get_attachment_count().always(