4091: Use <=N instead of <N+1. Pass "uuid not in" filter to API instead of adding...
[arvados.git] / apps / workbench / app / controllers / jobs_controller.rb
index b7526c949a2c6ea28daf6807fa8545350bf4ac6a..40f4378544cb7c38ee659a3055874bed8f9cb533 100644 (file)
@@ -36,7 +36,11 @@ class JobsController < ApplicationController
 
   def cancel
     @object.cancel
-    redirect_to @object
+    if params[:return_to]
+      redirect_to params[:return_to]
+    else
+      redirect_to @object
+    end
   end
 
   def show
@@ -53,6 +57,6 @@ class JobsController < ApplicationController
   end
 
   def show_pane_list
-    %w(Status Attributes Provenance Metadata JSON API)
+    %w(Status Log Details Provenance Advanced)
   end
 end