Merge pull request #3618 from Snuffleupagus/followup-3557

Prevent named actions from displaying a 'resource://' URL in Firefox
This commit is contained in:
Brendan Dahl 2013-09-04 11:16:15 -07:00
commit d26fcd5468

View File

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