diff --git a/client/src/views/record/detail.js b/client/src/views/record/detail.js index 48d4c1aca9..ec3d88d7cb 100644 --- a/client/src/views/record/detail.js +++ b/client/src/views/record/detail.js @@ -3611,7 +3611,13 @@ function (Dep, ViewRecordHelper, ActionItemSetup) { .first() .focus(); }, 50); + + return; } + + this.$el + .find(`.middle-tabs button[data-tab="${tab}"]`) + .focus(); }, /**