Skip to content

Commit

Permalink
feat(appellate): Add a method to insert warning in appellate courts.
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Jul 20, 2023
1 parent 3acd79e commit 66fc121
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/appellate/appellate.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ AppellateDelegate.prototype.dispatchPageHandler = function () {
case 'CaseQuery.jsp':
this.handleCaseQueryPage();
break;
case 'ShowDocMulti':
this.handleCombinedPdfPageView();
break
default:
if (APPELLATE.isAttachmentPage()) {
this.handleAttachmentPage();
Expand Down Expand Up @@ -386,6 +389,11 @@ AppellateDelegate.prototype.handleAttachmentPage = async function () {
);
};

AppellateDelegate.prototype.handleCombinedPdfPageView = async function () {
let warning = combinedPdfWarning()
document.body.appendChild(warning)
};

// If this page offers a single document, intercept navigation to the document view page.
AppellateDelegate.prototype.handleSingleDocumentPageView = async function () {
overwriteFormSubmitMethod();
Expand Down

0 comments on commit 66fc121

Please sign in to comment.