From c41bf6120e72426f1315d94dcdcb5a90f2587982 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 11 Nov 2020 15:56:14 +0300 Subject: [PATCH] [DE] Form settings: show connected fields --- apps/documenteditor/main/app/view/FormSettings.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/view/FormSettings.js b/apps/documenteditor/main/app/view/FormSettings.js index b616be8d5..c46df84f4 100644 --- a/apps/documenteditor/main/app/view/FormSettings.js +++ b/apps/documenteditor/main/app/view/FormSettings.js @@ -640,8 +640,10 @@ define([ val = formPr.get_Key(); this.cmbKey.setValue(val ? val : ''); - val = 1;//formPr.get_Connected(); - connected = (val>1); + if (val) { + val = this.api.asc_GetFormsCountByKey(val); + connected = (val>1); + } connected && this.labelConnectedFields.text(this.textConnected + ': ' + val); val = formPr.get_HelpText();