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

Last change on this file since 1069 was 1069, checked in by Nicklas Nordborg, 13 years ago

References #214: Move TDMS export to this extension

Removed some left-over debug code.

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