CIRCDCCFileTransfer.onDisconnect Member
Syntax
object.onDisconnect(e);
Arguments
Argument | Summary |
---|---|
e |
Returns
Remarks
See Also
Source Code
function my_dccfiledisconnect(e)
{
this.busy = false;
updateProgress();
this.updateHeader();
updateTitle();
var msg, tab = getTabForObject(this);
if (tab)
tab.setAttribute("label", this.viewName + " (DONE)");
if (this.state.dir == DCC_DIR_GETTING)
{
var localURL = getURLSpecFromFile(this.localPath);
var cmd = "dcc-show-file " + localURL;
var msgId = (client.platform == "Mac") ? MSG_DCCFILE_CLOSED_SAVED_MAC :
MSG_DCCFILE_CLOSED_SAVED;
msg = getMsg(msgId, this._getParams().concat(localURL, cmd));
}
else
{
msg = getMsg(MSG_DCCFILE_CLOSED_SENT, this._getParams());
}
client.munger.getRule(".inline-buttons").enabled = true;
this.display(msg, "DCC-FILE");
client.munger.getRule(".inline-buttons").enabled = false;
}