diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2019-06-17 13:10:01 -0400 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2019-06-17 13:10:01 -0400 |
commit | ec8566ea5d224f9ba1daf995107ada18baa7b61e (patch) | |
tree | 6776299a6fd1a154f616b8b170c6f4326ce8c760 /src/templates | |
parent | 070fa3c7761cb5f3fe7291728aaa1195b7d5432b (diff) |
Enforce step validity when going forward
Change-Id: Ic598a5e2637b88f6d044bd93c5b597582f0c1081
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/workflow/viewport-base.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/templates/workflow/viewport-base.html b/src/templates/workflow/viewport-base.html index beea7d2..4608ef9 100644 --- a/src/templates/workflow/viewport-base.html +++ b/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; } |