From 59d7050bbae719556804a8385e38fafa9815b8d6 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 25 Aug 2011 06:16:15 +0000 Subject: [PATCH] Use zotero-text-link instead of text-link, so that we can attach a custom binding that handles text links externally, which we need so that we can make links in docShells work in Standalone. --- .../content/zotero/bindings/attachmentbox.xml | 2 +- .../content/zotero/preferences/preferences.js | 4 ++-- .../content/zotero/preferences/preferences.xul | 17 +++++++++-------- .../zotero/preferences/preferences_firefox.xul | 2 +- chrome/content/zotero/xpcom/progressWindow.js | 2 +- chrome/skin/default/zotero/zotero.css | 9 +++++++++ 6 files changed, 23 insertions(+), 13 deletions(-) diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml index 90159ae47..bff649662 100644 --- a/chrome/content/zotero/bindings/attachmentbox.xml +++ b/chrome/content/zotero/bindings/attachmentbox.xml @@ -201,7 +201,7 @@ urlField.onclick = function (event) { ZoteroPane_Local.loadURI(this.value, event) }; - urlField.className = 'text-link'; + urlField.className = 'zotero-text-link'; } else { urlField.className = ''; diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index e3f2d389f..ce9d8f767 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -821,7 +821,7 @@ function updatePDFToolsStatus() { else if (part.type == 'link') { var elem = document.createElement('label'); elem.setAttribute('value', part.text); - elem.setAttribute('class', 'text-link'); + elem.setAttribute('class', 'zotero-text-link'); for (var key in part.attributes) { elem.setAttribute(key, part.attributes[key]); @@ -851,7 +851,7 @@ function updatePDFToolsStatus() { else if (part.type == 'link') { var elem = document.createElement('label'); elem.setAttribute('value', part.text); - elem.setAttribute('class', 'text-link'); + elem.setAttribute('class', 'zotero-text-link'); for (var key in part.attributes) { elem.setAttribute(key, part.attributes[key]); diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul index e03b0654c..aa0aba24c 100644 --- a/chrome/content/zotero/preferences/preferences.xul +++ b/chrome/content/zotero/preferences/preferences.xul @@ -28,6 +28,7 @@ + The following operations are for use only in rare, specific situations and should not be used for general troubleshooting. In many cases, resetting will cause additional problems. - See for more information. + See for more information. @@ -573,7 +574,7 @@ To add a new preference: &zotero.preferences.cite.wordProcessors.noWordProcessorPluginsInstalled; -