Bug 267477 - Cope without global history (XUL runner).

ChatZilla only.
r=rginda
This commit is contained in:
silver%warwickcompsoc.co.uk 2005-01-16 22:30:45 +00:00
Родитель d6e81bd756
Коммит 9f43bef794
3 изменённых файлов: 7 добавлений и 3 удалений

Просмотреть файл

@ -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