From 2c7b239fc5877e2674f8c952fd1b522b4d06bcbe Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Mon, 17 Jun 2019 13:10:01 -0400 Subject: Enforce step validity when going forward Change-Id: Ic598a5e2637b88f6d044bd93c5b597582f0c1081 Signed-off-by: Sawyer Bergeron --- dashboard/src/templates/workflow/viewport-base.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dashboard/src/templates/workflow') diff --git a/dashboard/src/templates/workflow/viewport-base.html b/dashboard/src/templates/workflow/viewport-base.html index beea7d2..4608ef9 100644 --- a/dashboard/src/templates/workflow/viewport-base.html +++ b/dashboard/src/templates/workflow/viewport-base.html @@ -187,8 +187,7 @@ { if( errors_exist(data) ) { - var continueanyway = confirm("The current step has errors that will prevent it from saving. Continue anyway?"); - if( !continueanyway ) + if( to != "prev" ) { return; } -- cgit 1.2.3-korg