Changeset 21954

Show
Ignore:
Timestamp:
26.04.2010 17:34:42 (9 years ago)
Author:
sjm84
Message:

Modified this file so that mainSource elements can only be downloaded to the default directory

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/admin/guiext/DownloadStep.java

    r21919 r21954  
    147147            svnCheckout.setIgnoreExternals(false); 
    148148 
    149             if(!currentSource.getFolder().equals("")){ 
     149            //The i != 0 enforces that the mainSource should always go to the default download location 
     150            if(i != 0 && !currentSource.getFolder().equals("")){ 
    150151            destinationFolder = currentSource.getFolder(); 
    151152            }