Skip to content

Commit

Permalink
Remove unused string from status message
Browse files Browse the repository at this point in the history
  • Loading branch information
eb1 committed Feb 1, 2024
1 parent fada5b9 commit 37389fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions www/js/views/DocumentViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -3994,8 +3994,6 @@ define(function (require) {
exportDocument = function (bookid, format, filename, content) {
var status = "";
var writer = null;
var exportDirectory = "";
var subdir = "AIM_Exports_";
var sType = "text/plain"; // default MIME type (text)
var bResult = true;
// Callback for when the file is imported / saved successfully
Expand All @@ -4007,7 +4005,7 @@ define(function (require) {
status = "<p>" + i18n.t("view.dscStatusExportSuccess") + "</p>";
} else {
// tell the user it succeeded, and also the file path / name
status = "<p>" + i18n.t("view.dscFile", {file: (subdir + "/" + filename)}) + "</p><p>" +
status = "<p>" + i18n.t("view.dscFile", {file: (filename)}) + "</p><p>" +
i18n.t("view.dscStatusExportSuccess") + "</p>";
}
isClipboard = false; // reset the clipboard flag
Expand Down

0 comments on commit 37389fb

Please sign in to comment.