From 4da7a006c3942933217f9ad994d9144d94ecc9b4 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 1 Sep 2008 02:10:40 +0000 Subject: [PATCH] Fix bug displaying "Rename associated file" dialog (on trunk and branch) --- chrome/content/zotero/overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 3dc7af92c..66ec4b29f 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -866,7 +866,7 @@ var ZoteroPane = new function() while (true) { // Don't show "Rename associated file" option for // linked URLs - if (linkMode = item.ref.getAttachmentLinkMode() == + if (item.ref.getAttachmentLinkMode() == Zotero.Attachments.LINK_MODE_LINKED_URL) { var result = nsIPS.prompt( window,