Ignore:
Timestamp:
Jun 2, 2009, 9:34:10 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #224: Add a "Test" button on the GenePattern? 'edit server' page

Now using Ajax to do the test which means that we don't need to 'forward' from the servlet and we only need BASE 2.12.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.genepattern/trunk/resources/options.jsp

    r1102 r1106  
    6767  function addServer()
    6868  {
    69     Main.openPopup('edit_server.jsp?ID=<%=ID%>&gpServer=', 'EditGPServer', 500, 300);
     69    Main.openPopup('edit_server.jsp?ID=<%=ID%>&gpServer=', 'EditGPServer', 600, 400);
    7070  }
    7171  function editServer()
     
    7878    }
    7979    var gpServer = frm.servers[frm.servers.selectedIndex].text;
    80     Main.openPopup('edit_server.jsp?ID=<%=ID%>&gpServer=' + encodeURIComponent(gpServer), 'EditGPServer', 500, 300);
     80    Main.openPopup('edit_server.jsp?ID=<%=ID%>&gpServer=' + encodeURIComponent(gpServer), 'EditGPServer', 600, 400);
    8181  }
    8282  function removeServer()
     
    110110      <select name="servers" multiple="multiple" size="10" style="width: 25em;">
    111111      <%
     112      String selected = "selected";
    112113      for (Presets.Preset server : presets)
    113114      {
    114115        %>
    115         <option><%=HTML.encodeTags(server.getName())%>
     116        <option <%=selected%>><%=HTML.encodeTags(server.getName())%>
    116117        <%
     118        selected = "";
    117119      }
    118120      %>
Note: See TracChangeset for help on using the changeset viewer.