From 66fc121d43a1708b8412c512d2ea31744f8bace7 Mon Sep 17 00:00:00 2001 From: Eduardo Rosendo Date: Thu, 20 Jul 2023 19:15:10 -0400 Subject: [PATCH] feat(appellate): Add a method to insert warning in appellate courts. --- src/appellate/appellate.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/appellate/appellate.js b/src/appellate/appellate.js index c52d89d7..cdd09cc2 100644 --- a/src/appellate/appellate.js +++ b/src/appellate/appellate.js @@ -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(); @@ -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();