commit b4512ac91d71fb0284327533915fb9edec0e8426
parent f87bee9f7c4a8164753bca6aecfa8b5a2a4ff02a
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 14 Dec 2011 17:49:14 -0500
Remove unused third parameter to ZoteroPane.loadURI()
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -2649,7 +2649,7 @@ var ZoteroPane = new function()
* (e.g. meta-click == new background tab, meta-shift-click == new front tab,
* shift-click == new window, no modifier == frontmost tab
*/
- function loadURI(uris, event, data) {
+ function loadURI(uris, event) {
if(typeof uris === "string") {
uris = [uris];
}
@@ -3383,7 +3383,7 @@ var ZoteroPane = new function()
if (!externalViewer) {
var url = 'zotero://attachment/' + itemID + '/';
- this.loadURI(url, event, { attachmentID: itemID});
+ this.loadURI(url, event);
}
else {
// Some platforms don't have nsILocalFile.launch, so we just