Changeset 9897


Ignore:
Timestamp:
2005-05-17T13:18:47+12:00 (19 years ago)
Author:
davidb
Message:

Modification so the information collated from the popup window is transmitted
correctly to "launch" (for the applet version of GLI).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/WriteCDImagePrompt.java

    r9889 r9897  
    266266    command_parts_list.add(Configuration.getLanguage());
    267267
    268     if (!cd_title.equals("")) {
     268    if (cd_title.equals("")) {
     269        command_parts_list.add("-cdname");
     270        command_parts_list.add("Greenstone Collections");
     271
     272        command_parts_list.add("-cddir");
     273        command_parts_list.add("exported_collections");
     274    }
     275    else {
    269276        command_parts_list.add("-cdname");
    270277        command_parts_list.add(cd_title);
    271     }
    272 
     278
     279        String cd_dir = "exported_"+cd_title.replaceAll("\\s","");
     280        command_parts_list.add("-cddir");
     281        command_parts_list.add(cd_dir);
     282    }
    273283
    274284    for (int i = 0; i < num_collections; i++) {
Note: See TracChangeset for help on using the changeset viewer.