1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #3557 from timvandermeij/named-actions

Named actions implementation
This commit is contained in:
Yury Delendik 2013-08-11 19:06:31 -07:00
commit e5cd027dce
2 changed files with 53 additions and 1 deletions

View file

@ -629,6 +629,8 @@ var LinkAnnotation = (function LinkAnnotationClosure() {
}
data.url = url;
data.dest = action.get('D');
} else if (linkType === 'Named') {
data.action = action.get('N').name;
} else {
TODO('unrecognized link type: ' + linkType);
}