summaryrefslogtreecommitdiffstats
path: root/idrop-lite
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@simon.local>2012-01-11 14:38:49 (GMT)
committer LISA STILLWELL <lisa@simon.local>2012-01-11 14:38:49 (GMT)
commitf12730e531ae837aa893408c33db8906cc650df0 (patch)
treeba967661ab9ac952005da7f984a568806e73c936 /idrop-lite
parent4f836bc5bd6145bf18dc49716fa68718adaef4a2 (diff)
downloadQCG-Data-f12730e531ae837aa893408c33db8906cc650df0.zip
QCG-Data-f12730e531ae837aa893408c33db8906cc650df0.tar.gz
QCG-Data-f12730e531ae837aa893408c33db8906cc650df0.tar.bz2
[#550] add new source to support Upload from URL
Diffstat (limited to 'idrop-lite')
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/UploadTableProgressBar.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/UploadTableProgressBar.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/UploadTableProgressBar.java
index 6acfa0f..4afe9d8 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/UploadTableProgressBar.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/UploadTableProgressBar.java
@@ -38,10 +38,11 @@ public class UploadTableProgressBar extends JProgressBar implements TableCellRen
setValue(ival);
// check to see if this a folder and if files have already started to be transferred
- Boolean isFolder = (Boolean) table.getModel().getValueAt(row, 4);
+ //Boolean isFolder = (Boolean) table.getModel().getValueAt(row, 4);
+ int fileType = (Integer)table.getModel().getValueAt(row, 4);
int filesToTransfer = tpInfo.getTotalFilesToTransfer();
int soFar = tpInfo.getTotalFilesTransferredSoFar();
- if((isFolder) && (ival > 0)) {
+ if((fileType == iDropLiteApplet.uploadFolder) && (ival > 0)) {
if(tpInfo.isIntraFile) { // retrieve file transfer statistics not given in intraFile type callback
TransferControlBlock tcb = ((iDropLiteApplet)table.getTopLevelAncestor()).getiDropCore().getTransferControlBlock();
if(tcb != null) {