From 9c366a4bcbec60627a8522dc2cd383359b77ec92 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 30 Aug 2010 18:38:32 +0000 Subject: [PATCH] Clear Commons credentials on disable --- chrome/content/zotero/xpcom/zotero.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index c2fdbddd0..a0b5dc92f 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -1393,6 +1393,8 @@ Zotero.Prefs = new function(){ } else if (commonsEnable == 'false') { Zotero.Commons.enabled = false; + Zotero.Commons.accessKey = ''; + Zotero.Commons.secretKey = '' ZoteroPane.collectionsView.refresh(); } }