www

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

commit 18f7bf1112bb10f53878e31cb73928bfcac17293
parent 58c8e7ccfc9046abf2d7a57037933f3e7ce9c1db
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri, 12 Aug 2011 15:36:54 +0000

Don't save before CSS has been loaded


Diffstat:
Mchrome/content/zotero/xpcom/server_connector.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js @@ -352,7 +352,7 @@ Zotero.Server.Connector.SaveSnapshot.prototype = { var pageShowCalled = false; var cookieSandbox = new Zotero.CookieSandbox(browser, data["url"], data["cookie"]); - browser.addEventListener("DOMContentLoaded", function() { + browser.addEventListener("pageshow", function() { if(browser.contentDocument.location.href == "about:blank") return; if(pageShowCalled) return; pageShowCalled = true;