diff --git a/chrome/content/zotero/reportInterface.js b/chrome/content/zotero/reportInterface.js index 53ed6f066..1bcb3f245 100644 --- a/chrome/content/zotero/reportInterface.js +++ b/chrome/content/zotero/reportInterface.js @@ -33,7 +33,7 @@ var Zotero_Report_Interface = new function() { /* * Load a report for the currently selected collection */ - function loadCollectionReport() { + function loadCollectionReport(event) { var queryString = ''; var col = ZoteroPane_Local.getSelectedCollection(); @@ -46,7 +46,7 @@ var Zotero_Report_Interface = new function() { if (col) { ZoteroPane_Local.loadURI('zotero://report/collection/' + Zotero.Collections.getLibraryKeyHash(col) - + '/html/report.html' + queryString); + + '/html/report.html' + queryString, event); return; } @@ -54,7 +54,7 @@ var Zotero_Report_Interface = new function() { if (s) { ZoteroPane_Local.loadURI('zotero://report/search/' + Zotero.Searches.getLibraryKeyHash(s) - + '/html/report.html' + queryString); + + '/html/report.html' + queryString, event); return; } @@ -65,7 +65,7 @@ var Zotero_Report_Interface = new function() { /* * Load a report for the currently selected items */ - function loadItemReport() { + function loadItemReport(event) { var items = ZoteroPane_Local.getSelectedItems(); if (!items || !items.length) { @@ -77,7 +77,7 @@ var Zotero_Report_Interface = new function() { keyHashes.push(Zotero.Items.getLibraryKeyHash(item)); } - ZoteroPane_Local.loadURI('zotero://report/items/' + keyHashes.join('-') + '/html/report.html'); + ZoteroPane_Local.loadURI('zotero://report/items/' + keyHashes.join('-') + '/html/report.html', event); } diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul index 41b6a76e3..b0e320ad8 100644 --- a/chrome/content/zotero/zoteroPane.xul +++ b/chrome/content/zotero/zoteroPane.xul @@ -252,7 +252,7 @@ - + @@ -282,7 +282,7 @@ - +