Remove unused third parameter to ZoteroPane.loadURI()

This commit is contained in:
Dan Stillman 2011-12-14 17:49:14 -05:00
parent f87bee9f7c
commit b4512ac91d

View file

@ -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