Enforce step validity when going forward
[pharos-tools.git] / dashboard / src / templates / workflow / viewport-base.html
index beea7d2..4608ef9 100644 (file)
     {
         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;
             }