You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/06/03 13:26:57 UTC

[incubator-dlab] 01/03: [DLAB-655]: added focus on configuration check

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit a7400121a720d01b36d84d89a0167cf7f6259bd8
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Jun 3 16:24:54 2019 +0300

    [DLAB-655]: added focus on configuration check
---
 .../exploratory-environment-create-dialog.component.ts                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts
index adab1b1..2b2f40b 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts
@@ -96,7 +96,7 @@ export class ExploratoryEnvironmentCreateComponent implements OnInit {
     const value = (this.configuration.nativeElement.checked && this.createExploratoryForm)
       ? JSON.stringify(CLUSTER_CONFIGURATION.SPARK, undefined, 2) : '';
 
-    document.querySelector('#configurationNode').scrollIntoView({ block: 'start', behavior: 'smooth' });
+    document.querySelector('#config').scrollIntoView({ block: 'start', behavior: 'smooth' });
     this.createExploratoryForm.controls['configuration_parameters'].setValue(value);
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org