Changeset 26714


Ignore:
Timestamp:
01/14/13 17:13:38 (8 years ago)
Author:
davidb
Message:

Changing alert message for when the script has finished running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/html-to-expeditee/trunk/src/src/cgi-bin/export-individual-expeditee.pl.in

    r26694 r26714  
    104104           
    105105            var request = urlPostSync(url,params);
    106            
    107             alert("Document has been successfully exported to Expeditee. The corresponding Expeditee frame can be found in the collection's export directory at: " + frameNum + ".exp");
    108            
     106            var msg = "Document has been successfully exported to Expeditee.";
     107           
     108            //TODO: the value of frameNum is changed in ExpediteeExportAction, so need a way to retrieve this for the alert message.
     109            if(frameNum != -1)
     110                msg += " The corresponding Expeditee frame can be found in the collection's export directory at: " + frameNum + ".exp";
     111           
     112            alert(msg);
    109113        }
    110114       
Note: See TracChangeset for help on using the changeset viewer.