Merge pull request #7583 from Snuffleupagus/Named-Action-GoToPage-select

Change the `GoToPage` Named Action to select the contents of the `pageNumber` input, rather than just focusing the element
This commit is contained in:
Tim van der Meij 2016-09-01 15:38:37 +02:00 committed by GitHub
commit 61a576c41f

View File

@ -1707,7 +1707,7 @@ function webViewerNamedAction(e) {
var action = e.action;
switch (action) {
case 'GoToPage':
PDFViewerApplication.appConfig.toolbar.pageNumber.focus();
PDFViewerApplication.appConfig.toolbar.pageNumber.select();
break;
case 'Find':