From eb6db50e8abc6957ac43dff54ec63dd0cfed6d4d Mon Sep 17 00:00:00 2001 From: Mike Connor Date: Wed, 28 Apr 2010 22:20:08 -0400 Subject: [PATCH] Bug 562159 - Tabs from other computers don't show at about:weave-tabs, r=Mardak --HG-- extra : rebase_source : 6e585fc3ddf75f3654286c08f1cd660586ce2de3 --- services/sync/modules/engines/clients.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/sync/modules/engines/clients.js b/services/sync/modules/engines/clients.js index 8864920c4988..f2495b3a239c 100644 --- a/services/sync/modules/engines/clients.js +++ b/services/sync/modules/engines/clients.js @@ -163,7 +163,9 @@ ClientEngine.prototype = { set localType(value) Svc.Prefs.set("client.type", value), isMobile: function isMobile(id) { - return this._store._remoteClients[id].type == "mobile"; + if (this._store._remoteClients[id]) + return this._store._remoteClients[id].type == "mobile"; + return false; }, // Always process incoming items because they might have commands