rem: SetStatusMessage(gFinalMessage); 
add: if (gFinalMessage) SetStatusMessage(gFinalMessage); 
context: function SetProgressFinished(filename, networkStatus){  if (filename)  {    var status = networkStatus ? "failed" : "done";    if (networkStatus == 0)      gSucceededCount++;    if (SetProgressStatus(filename, status))      gFinishedCount++;  }  if (networkStatus != 0)  {    // XXX Interpret networkStatus and call SetStatusMessage() with     //  appropriate error description.    if (filename == gPublishData.filename)      gFinalMessage = GetString("PublishFailed");    else      gFinalMessage = GetString("PublishSomeFileFailed");  }  else if (gFinishedCount == gTotalFileCount || !filename)  {    gFinished = true;    gDialog.Close.setAttribute("label", GetString("Close"));    gFinalMessage = GetString("PublishCompleted");  }  SetStatusMessage(gFinalMessage);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/699c3286d765daa44678e4719ff3b39ad156a631/EditorPublishProgress.js/buggy/editor/ui/dialogs/content/EditorPublishProgress.js