Merge pull request #13032 from Snuffleupagus/parseDestDictionary-actionName-warn
Don't warn about actions that require scripting support in `Catalog.parseDestDictionary`
This commit is contained in:
commit
d6e0b2d92e
@ -1366,7 +1366,16 @@ class Catalog {
|
||||
}
|
||||
/* falls through */
|
||||
default:
|
||||
warn(`parseDestDictionary: unsupported action type "${actionName}".`);
|
||||
if (
|
||||
actionName === "JavaScript" ||
|
||||
actionName === "ResetForm" ||
|
||||
actionName === "SubmitForm"
|
||||
) {
|
||||
// Don't bother the user with a warning for actions that require
|
||||
// scripting support, since those will be handled separately.
|
||||
break;
|
||||
}
|
||||
warn(`parseDestDictionary - unsupported action: "${actionName}".`);
|
||||
break;
|
||||
}
|
||||
} else if (destDict.has("Dest")) {
|
||||
|
Loading…
Reference in New Issue
Block a user