myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2978] branches/galaxy-integration/app/views/work


From: noreply
Subject: [myexperiment-hackers] [2978] branches/galaxy-integration/app/views/workflows/galaxy/_run_options. rhtml: Galaxy import form now passes cookie to Galaxy for use in authentication
Date: Wed, 28 Mar 2012 09:05:38 +0000 (UTC)

Revision
2978
Author
fbacall
Date
2012-03-28 09:05:38 +0000 (Wed, 28 Mar 2012)

Log Message

Galaxy import form now passes cookie to Galaxy for use in authentication

Modified Paths

Diff

Modified: branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml (2977 => 2978)


--- branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml	2012-03-28 09:04:43 UTC (rev 2977)
+++ branches/galaxy-integration/app/views/workflows/galaxy/_run_options.rhtml	2012-03-28 09:05:38 UTC (rev 2978)
@@ -19,8 +19,9 @@
   </style>
   <div class="galaxy_import_form">
     <div class="header">Import this workflow into Galaxy</div>
-    <form action="" session[:return_url].chomp("/") -%>/workflow/import_workflow" method="POST" name="import_workflow">
-      <input type="hidden" name="url" value="<%= download_workflow_url(@workflow, :disposition => :inline) -%>"/>
+    <form action="" session[:return_url].chomp("/") -%>/workflow/import_from_myexp" method="POST" name="import_from_myexp">
+      <input type="hidden" name="myexp_id" value="<%= @workflow.id -%>"/>
+      <input type="hidden" name="myexp_cookie" value="<%= cookies[:myexperiment_session] -%>"/>
       <input type="submit" value="Import" name="import_button"/>
     </form>
   </div>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]