Compare commits

...

1 Commits

Author SHA1 Message Date
maximstewart 5b1f47725e renamed feature 2021-02-15 21:34:01 -06:00
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 # Download
https://addons.mozilla.org/en-US/firefox/addon/easy-session-manager/ https://addons.mozilla.org/en-US/firefox/addon/easy-session-manager/
# Version: 0.2.1.7 # Version: 0.2.1.8
Added "Deselect All" button from @CRImier. * Renamed feature
# Images # Images

View File

@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": " Easy Session Manager", "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.", "description": "Easy Session Manager allows you to manage your Firefox session by backing up or loading your saved sessions.",
"applications": { "applications": {

View File

@ -23,7 +23,7 @@
<li><button name="deleteModalLauncher" class="button-danger" type="button">Delete</button></li> <li><button name="deleteModalLauncher" class="button-danger" type="button">Delete</button></li>
<br/><br/><br/> <br/><br/><br/>
<li><button name="import" class="button-primary" type="button">Import</button></li> <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> <li><button name="donate" class="button-warning" type="button">Donate</button></li>
</ul> </ul>
</div> </div>

View File

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