renamed feature

This commit is contained in:
maximstewart 2021-02-15 21:34:01 -06:00
parent adc1f3faee
commit 5b1f47725e
4 changed files with 8 additions and 9 deletions

View File

@ -4,8 +4,8 @@ Easy Session Manager allows you to manage your Firefox session by backing up or
# Download
https://addons.mozilla.org/en-US/firefox/addon/easy-session-manager/
# Version: 0.2.1.7
Added "Deselect All" button from @CRImier.
# Version: 0.2.1.8
* Renamed feature
# Images

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": " Easy Session Manager",
"version": "0.2.2.7",
"version": "0.2.2.8",
"description": "Easy Session Manager allows you to manage your Firefox session by backing up or loading your saved sessions.",
"applications": {

View File

@ -23,7 +23,7 @@
<li><button name="deleteModalLauncher" class="button-danger" type="button">Delete</button></li>
<br/><br/><br/>
<li><button name="import" class="button-primary" type="button">Import</button></li>
<li><button name="downloadModalLauncher" class="button-primary" type="button">Download</button></li>
<li><button name="backupModalLauncher" class="button-primary" type="button">Backup</button></li>
<li><button name="donate" class="button-warning" type="button">Donate</button></li>
</ul>
</div>

View File

@ -26,7 +26,7 @@ document.addEventListener("click", (e) => {
const selectedItemName = (selectedItem !== null) ? selectedItem.getAttribute("name") : "";
// Modals
if (/(saveModalLauncher|editModalLauncher|deleteModalLauncher|downloadModalLauncher)/.test(action)) {
if (/(saveModalLauncher|editModalLauncher|deleteModalLauncher|backupModalLauncher)/.test(action)) {
if (action == "saveModalLauncher") {
preSaveSession(selectedItem, selectedItemName);
showModal("saveModal");
@ -40,7 +40,7 @@ document.addEventListener("click", (e) => {
} else if (action == "deleteModalLauncher") {
document.getElementsByName("toDeleteName")[0].innerText = selectedItemName;
showModal("deleteModal");
} else if (action == "downloadModalLauncher") {
} else if (action == "backupModalLauncher") {
preDownloadSession(selectedItemName);
showModal("downloadModal");
}
@ -65,9 +65,8 @@ document.addEventListener("click", (e) => {
} else if (action.includes("closeLoad")) {
hideModal("loadModal");
}
}
else if (action.includes("deselectAll")) {
let container = document.getElementById("editSelectionContainer");
} else if (action.includes("deselectAll")) {
const container = document.getElementById("editSelectionContainer");
deselectAll(container);
}