source: extensions/net.sf.basedb.mev/trunk/resources/scripts/mev.jsp @ 974

Last change on this file since 974 was 974, checked in by Nicklas Nordborg, 14 years ago

Fixes #178: The MeV launcher should use attached file instead of running BioAssaySetExporter?

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 664 bytes
Line 
1<%@ page
2  session="false"
3  contentType="text/javascript"
4  import="net.sf.basedb.clients.web.extensions.ExtensionsControl"
5%>
6<%!
7  final String homeUrl = ExtensionsControl.getHomeUrl("net.sf.basedb.mev.launchmev");
8%>
9var MeV = new function()
10{
11  this.launch = function(bioAssaySetId)
12  {
13    var url = '<%=homeUrl%>/launch_mev.jsp';
14    url += '?ID='+getSessionId();
15    url += '&bioassayset_id=' + bioAssaySetId;
16    location.href = url;
17  }
18 
19  this.createTDMS = function(bioAssaySetId)
20  {
21    var url = '<%=homeUrl%>/launch_export.jsp';
22    url += '?ID='+getSessionId();
23    url += '&bioassayset_id=' + bioAssaySetId;
24    Main.openPopup(url, 'CreateTDMSFile', 400, 300);
25  }
26}
27();
Note: See TracBrowser for help on using the repository browser.