Skip to content
Snippets Groups Projects
Commit e774b9d4 authored by Mike McKay's avatar Mike McKay
Browse files

XNAT-4144 Removed container demo button.

parent 94736044
No related branches found
No related tags found
No related merge requests found
...@@ -98,19 +98,4 @@ ...@@ -98,19 +98,4 @@
</tr> </tr>
</table> </table>
#end #end
<button type="button" id="launchScript">Launch Script</button>
<script type="text/javascript">
scriptCallback={
success:function(){alert("Script launched.")},
failure:function(){alert("Script failed to launch.")},
cache:false, // Turn off caching for IE
scope:this
}
jQuery('#launchScript').click(function(event){
var params="sessionId=" + "${om.getId()}" + "&mountIn=" + "/data/input" + "&mountOut=" + "/data/output" + "&imageId=" + "kelseym/pydicom";
YAHOO.util.Connect.asyncRequest('POST',serverRoot +"/xapi/containers/launch/script/${om.getId()}?XNAT_CSRF=" + csrfToken,scriptCallback,params,this);
});
</script>
<!--END xnat_imageSessionData_details.vm --> <!--END xnat_imageSessionData_details.vm -->
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment