Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion l10n/kab/viewer.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ pdfjs-document-properties-creator = Yerna-t:
pdfjs-document-properties-producer = Afecku n uselket PDF:
pdfjs-document-properties-version = Lqem PDF:
pdfjs-document-properties-page-count = Amḍan n yisebtar:
pdfjs-document-properties-page-size = Tuγzi n usebter:
pdfjs-document-properties-page-size = Teɣzi n usebter:
pdfjs-document-properties-page-size-unit-inches = deg
pdfjs-document-properties-page-size-unit-millimeters = mm
pdfjs-document-properties-page-size-orientation-portrait = s teɣzi
Expand Down
4 changes: 2 additions & 2 deletions web/digital_signature_properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
background-color: var(--sig-icon-verified);
}
&.state-warn::before {
mask-image: var(--toolbarButton-signaturePropertiesWarn-icon);
mask-image: var(--toolbarButton-signaturePropertiesError-icon);
background-color: var(--sig-icon-warn);
}
&.state-error::before {
Expand Down Expand Up @@ -297,7 +297,7 @@
}
&.cert--untrusted::before,
&.cert--expired::before {
mask-image: var(--toolbarButton-signaturePropertiesWarn-icon);
mask-image: var(--toolbarButton-signaturePropertiesError-icon);
background-color: var(--sig-icon-warn);
}
&.cert--revoked::before,
Expand Down
4 changes: 0 additions & 4 deletions web/digital_signature_properties_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,6 @@ class SignaturePropertiesManager {
if (!pdfDocument) {
return;
}
this.#signatures = [];
this.#results.clear();
this.#pendingVerify.clear();
this.#isLoading = true;
this.#render();

Expand All @@ -274,7 +271,6 @@ class SignaturePropertiesManager {
signatures = await pdfDocument.getSignatures();
} catch (ex) {
console.warn("getSignatures failed:", ex);
signatures = [];
}
if (pdfDocument !== this.#pdfDocument) {
return;
Expand Down
7 changes: 0 additions & 7 deletions web/images/toolbarButton-signaturePropertiesWarn.svg

This file was deleted.

21 changes: 8 additions & 13 deletions web/pdf_thumbnail_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1215,19 +1215,14 @@ class PDFThumbnailViewer {
}
this.#toggleBar("undo", l10nId, { count });

if (type === "copy") {
this.#undoButton.firstElementChild.setAttribute(
"data-l10n-id",
"pdfjs-views-manager-status-done-button-label"
);
this.#undoCloseButton.classList.toggle("hidden", true);
} else {
this.#undoButton.firstElementChild.setAttribute(
"data-l10n-id",
"pdfjs-views-manager-status-undo-button-label"
);
this.#undoCloseButton.classList.toggle("hidden", false);
}
const isCopy = type === "copy";
this.#undoButton.firstElementChild.setAttribute(
"data-l10n-id",
isCopy
? "pdfjs-views-manager-status-done-button-label"
: "pdfjs-views-manager-status-undo-button-label"
);
this.#undoCloseButton.classList.toggle("hidden", isCopy);
}

#moveDraggedContainer(dx, dy) {
Expand Down
1 change: 1 addition & 0 deletions web/viewer-geckoview.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"web-print_service": "./pdf_print_service.js",
"web-secondary_toolbar": "./stubs-geckoview.js",
"web-signature_manager": "./stubs-geckoview.js",
"web-digital_signature_properties_manager": "./digital_signature_properties_manager.js",
"web-toolbar": "./toolbar-geckoview.js",
"web-views_manager": "./stubs-geckoview.js"
}
Expand Down
1 change: 0 additions & 1 deletion web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
--toolbarButton-editorStamp-icon: url(images/toolbarButton-editorStamp.svg);
--toolbarButton-editorSignature-icon: url(images/toolbarButton-editorSignature.svg);
--toolbarButton-signaturePropertiesVerified-icon: url(images/toolbarButton-signaturePropertiesVerified.svg);
--toolbarButton-signaturePropertiesWarn-icon: url(images/toolbarButton-signaturePropertiesWarn.svg);
--toolbarButton-signaturePropertiesError-icon: url(images/toolbarButton-signaturePropertiesError.svg);
--signatureProperties-rowCheck-icon: url(images/signature-properties-row-check.svg);
--toolbarButton-menuArrow-icon: url(images/toolbarButton-menuArrow.svg);
Expand Down
Loading