From e37b10ea233b39d325ea4a249505d3f6bc1f2454 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 5 Feb 2021 14:16:03 +0300 Subject: [PATCH] [DE] Go to form fields --- apps/documenteditor/main/app/controller/FormsTab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/FormsTab.js b/apps/documenteditor/main/app/controller/FormsTab.js index 62aaf4e98..8b1b602e3 100644 --- a/apps/documenteditor/main/app/controller/FormsTab.js +++ b/apps/documenteditor/main/app/controller/FormsTab.js @@ -224,7 +224,8 @@ define([ }, onGoTo: function(type) { - // (type=='prev') ? this.api.asc_GoToPrevForm() : this.api.asc_GoToNextForm(); + if (this.api) + this.api.asc_MoveToFillingForm(type=='next'); Common.NotificationCenter.trigger('edit:complete', this.toolbar); },