зеркало из https://github.com/mozilla/pjs.git
Bug 267477 - Cope without global history (XUL runner).
ChatZilla only. r=rginda
This commit is contained in:
Родитель
d6e81bd756
Коммит
9f43bef794
|
@ -901,7 +901,8 @@ function my_showtonet (e)
|
|||
|
||||
// Update everything.
|
||||
// Welcome to history.
|
||||
client.globalHistory.addPage(this.getURL());
|
||||
if (client.globalHistory)
|
||||
client.globalHistory.addPage(this.getURL());
|
||||
updateTitle(this);
|
||||
this.updateHeader();
|
||||
client.updateHeader();
|
||||
|
@ -1914,7 +1915,8 @@ function my_cjoin (e)
|
|||
{
|
||||
this.display (getMsg(MSG_YOU_JOINED, e.channel.unicodeName), "JOIN",
|
||||
e.server.me, this);
|
||||
client.globalHistory.addPage(this.getURL());
|
||||
if (client.globalHistory)
|
||||
client.globalHistory.addPage(this.getURL());
|
||||
|
||||
if ("joinTimer" in this)
|
||||
{
|
||||
|
|
|
@ -1416,7 +1416,8 @@ function mainStep()
|
|||
function openQueryTab(server, nick)
|
||||
{
|
||||
var user = server.addUser(nick);
|
||||
client.globalHistory.addPage(user.getURL());
|
||||
if (client.globalHistory)
|
||||
client.globalHistory.addPage(user.getURL());
|
||||
if (!("messages" in user))
|
||||
{
|
||||
var value = "";
|
||||
|
|
|
@ -599,6 +599,7 @@ msg.err.offline = The host software platform (e.g. Mozilla, Firefox) is in
|
|||
msg.err.badalias = Malformed alias: %S"
|
||||
msg.err.no.ctcp.cmd = %S is not a valid CTCP function for this client
|
||||
msg.err.no.ctcp.help = %S does not have any help information
|
||||
msg.err.unknown.host = The host application URL "%S" is not recognised. Please report what application you are running ChatZilla in, and the URL given.
|
||||
msg.err.unable.to.print = The current view does not support printing.
|
||||
|
||||
# Better IRC error messages
|
||||
|
|
Загрузка…
Ссылка в новой задаче