Changeset 1991


Ignore:
Timestamp:
May 23, 2013, 12:53:03 PM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #473: Register library processing results

Automatically set the working directory to /home/SCANB/LibPlateQC when opening the "Browse" dialog.

Location:
extensions/net.sf.basedb.reggie/trunk/resources/libprep
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/libprep/lib_registration.jsp

    r1986 r1991  
    2929
    3030<script language="JavaScript">
     31
     32var LIB_FILES_PATH = '/home/SCANB/LibPlateQC';
     33var firstBrowse = true;
     34
    3135var debug = false;
    3236var currentStep = 1;
     
    249253  if (frm[prefix+'.path'].disabled) return;
    250254 
     255  if (firstBrowse)
     256  {
     257    setCurrentDirectory('<%=ID%>', LIB_FILES_PATH, debug, '../');
     258    firstBrowse = false;
     259  }
     260
    251261  var url = getRoot() + 'filemanager/index.jsp?ID=<%=ID%>&cmd=SelectOne&callback=setFileCallback';
    252262  url += '&resetTemporary=1&tmpfilter:STRING:name='+escape('%.' + extension);
  • extensions/net.sf.basedb.reggie/trunk/resources/libprep/libqc_registration.jsp

    r1986 r1991  
    2929
    3030<script language="JavaScript">
     31
     32var LIB_QC_FILES_PATH = '/home/SCANB/LibPlateQC';
     33var firstBrowse = true;
     34
    3135var debug = false;
    3236var currentStep = 1;
     
    142146  if (frm[prefix+'.path'].disabled) return;
    143147 
     148  if (firstBrowse)
     149  {
     150    setCurrentDirectory('<%=ID%>', LIB_QC_FILES_PATH, debug, '../');
     151    firstBrowse = false;
     152  }
     153
    144154  var url = getRoot() + 'filemanager/index.jsp?ID=<%=ID%>&cmd=SelectOne&callback=setFileCallback';
    145155  url += '&resetTemporary=1&tmpfilter:STRING:name='+escape('%.' + extension);
Note: See TracChangeset for help on using the changeset viewer.