Remove "/report.html" in report URLs
Firefox saves as Zotero Report.html (localized) without it, which is fine.
This commit is contained in:
parent
ba1f69b4d5
commit
79504df5f8
2 changed files with 6 additions and 6 deletions
|
@ -119,16 +119,16 @@ function ZoteroProtocolHandler() {
|
|||
var router = new Zotero.Router(params);
|
||||
|
||||
// Items within a collection or search
|
||||
router.add('library/:scopeObject/:scopeObjectKey/items/report.html', function () {
|
||||
router.add('library/:scopeObject/:scopeObjectKey/items', function () {
|
||||
params.libraryID = userLibraryID;
|
||||
});
|
||||
router.add('groups/:groupID/:scopeObject/:scopeObjectKey/items/report.html');
|
||||
router.add('groups/:groupID/:scopeObject/:scopeObjectKey/items');
|
||||
|
||||
// All items
|
||||
router.add('library/items/report.html', function () {
|
||||
router.add('library/items', function () {
|
||||
params.libraryID = userLibraryID;
|
||||
});
|
||||
router.add('groups/:groupID/items/report.html');
|
||||
router.add('groups/:groupID/items');
|
||||
|
||||
// Old-style URLs
|
||||
router.add('collection/:id/html/report.html', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue