commit 87969d106d98a36b9cd6cbf94a2965298c2d0383
parent 3820f8f2bda9328a00e279513c37a1750cc6cfcf
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 15 Jul 2009 21:54:29 +0000
- Don't show Mac clipboard warning in Create Bib window in Fx3.5, which supports HTML copy
- Remove warning from preferences window, because there's not enough room anyway
Diffstat:
3 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js
@@ -93,9 +93,8 @@ var Zotero_File_Interface_Bibliography = new function() {
document.getElementById('output-radio').selectedItem =
document.getElementById(Zotero.Prefs.get("export.bibliographySettings"));
- // disable clipboard on the Mac, because it can't support formatted
- // output
- if(Zotero.isMac) {
+ // disable clipboard in Fx3.0 on the Mac, because it can't support formatted output
+ if(Zotero.isMac && Zotero.isFx30) {
document.getElementById("mac-clipboard-warning").hidden = false;
}
}
diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js
@@ -632,10 +632,6 @@ function deleteSelectedQuickCopySite() {
function updateQuickCopyInstructions() {
- if (Zotero.isMac) {
- document.getElementById('quickCopy-macWarning').setAttribute('hidden', false);
- }
-
var prefix = Zotero.isMac ? 'Cmd+Shift+' : 'Ctrl+Alt+';
var key = Zotero.Prefs.get('keys.copySelectedItemsToClipboard');
diff --git a/chrome/content/zotero/preferences/preferences.xul b/chrome/content/zotero/preferences/preferences.xul
@@ -551,8 +551,6 @@ To add a new preference:
</hbox>
<separator/>
-
- <label id="quickCopy-macWarning" hidden="true" value="&zotero.preferences.quickCopy.macWarning;"/>
</groupbox>
</prefpane>