www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 52f4bd8f6753e5f42269cc936b48d49243a6b4d7
parent 7d2c4e6b2d4951acd292bb25d8275057346ede7f
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon, 29 Oct 2012 18:02:04 -0400

Fix processDocuments for Fx 17

Diffstat:
Mchrome/content/zotero/xpcom/http.js | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js @@ -533,8 +533,9 @@ Zotero.HTTP = new function() { * @inner */ var onLoad = function() { - var doc = hiddenBrowser.contentDocument, - url = doc.location.href.toString(); + var doc = hiddenBrowser.contentDocument; + if(!doc) return; + var url = doc.location.href.toString(); if(url == "about:blank") return; if(doc.readyState === "loading" && firedLoadEvent < 120) { // Try again in a second