Merge pull request #3618 from Snuffleupagus/followup-3557
Prevent named actions from displaying a 'resource://' URL in Firefox
This commit is contained in:
commit
d26fcd5468
@ -1653,6 +1653,7 @@ var PageView = function pageView(container, id, scale,
|
||||
}
|
||||
|
||||
function bindNamedAction(link, action) {
|
||||
link.href = PDFView.getAnchorUrl('');
|
||||
link.onclick = function pageViewSetupNamedActionOnClick() {
|
||||
// See PDF reference, table 8.45 - Named action
|
||||
switch (action) {
|
||||
|
Loading…
Reference in New Issue
Block a user