Changeset 26714 for gs3-extensions

Show
Ignore:
Timestamp:
14.01.2013 17:13:38 (7 years ago)
Author:
davidb
Message:

Changing alert message for when the script has finished running.

Files:
1 modified

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