ethoFS Upload Reset Bug Fix

This commit is contained in:
Dev-JamesR
2019-10-25 23:03:45 -07:00
parent ab82145a26
commit 1fb88a4fd1
2 changed files with 423 additions and 392 deletions

View File

@@ -52,7 +52,7 @@ class MainGUI {
$("#dlgGeneralError").iziModal(); $("#dlgGeneralError").iziModal();
$("#dlgGeneralError").iziModal("open"); $("#dlgGeneralError").iziModal("open");
$("#btnGeneralErrorOK").click(function() { $("#btnGeneralErrorOK").click(function () {
$("#dlgGeneralError").iziModal("close"); $("#dlgGeneralError").iziModal("close");
}); });
} }
@@ -64,12 +64,12 @@ class MainGUI {
$("#dlgGeneralConfirm").iziModal(); $("#dlgGeneralConfirm").iziModal();
$("#dlgGeneralConfirm").iziModal("open"); $("#dlgGeneralConfirm").iziModal("open");
$("#btnGeneralConfirmYes").click(function() { $("#btnGeneralConfirmYes").click(function () {
$("#dlgGeneralConfirm").iziModal("close"); $("#dlgGeneralConfirm").iziModal("close");
callback(true); callback(true);
}); });
$("#btnGeneralConfirmNo").click(function() { $("#btnGeneralConfirmNo").click(function () {
$("#dlgGeneralConfirm").iziModal("close"); $("#dlgGeneralConfirm").iziModal("close");
callback(false); callback(false);
}); });
@@ -82,12 +82,12 @@ class MainGUI {
$("#dlgAboutInfo").iziModal(); $("#dlgAboutInfo").iziModal();
$("#dlgAboutInfo").iziModal("open"); $("#dlgAboutInfo").iziModal("open");
$("#urlOpenLicence, #urlOpenGitHub").off("click").on("click", function(even) { $("#urlOpenLicence, #urlOpenGitHub").off("click").on("click", function (even) {
event.preventDefault(); event.preventDefault();
ipcRenderer.send("openURL", $(this).attr("href")); ipcRenderer.send("openURL", $(this).attr("href"));
}); });
$("#btnAboutInfoClose").off("click").on("click", function(even) { $("#btnAboutInfoClose").off("click").on("click", function (even) {
$("#dlgAboutInfo").iziModal("close"); $("#dlgAboutInfo").iziModal("close");
}); });
} }
@@ -112,47 +112,47 @@ class MainGUI {
} }
} }
ipcRenderer.on("showAboutDialog", function(event, message) { ipcRenderer.on("showAboutDialog", function (event, message) {
EthoMainGUI.showAboutDialog(message); EthoMainGUI.showAboutDialog(message);
}); });
$("#mainNavBtnTransactions").click(function() { $("#mainNavBtnTransactions").click(function () {
EthoTransactions.clearFilter(); EthoTransactions.clearFilter();
EthoMainGUI.changeAppState("transactions"); EthoMainGUI.changeAppState("transactions");
EthoTransactions.renderTransactions(); EthoTransactions.renderTransactions();
}); });
$("#mainNavBtnAddressBoook").click(function() { $("#mainNavBtnAddressBoook").click(function () {
EthoMainGUI.changeAppState("addressBook"); EthoMainGUI.changeAppState("addressBook");
EthoAddressBook.renderAddressBook(); EthoAddressBook.renderAddressBook();
}); });
$("#mainNavBtnSend").click(function() { $("#mainNavBtnSend").click(function () {
EthoMainGUI.changeAppState("send"); EthoMainGUI.changeAppState("send");
EthoSend.renderSendState(); EthoSend.renderSendState();
}); });
$("#mainNavBtnWallets").click(function() { $("#mainNavBtnWallets").click(function () {
EthoMainGUI.changeAppState("account"); EthoMainGUI.changeAppState("account");
EthoWallets.renderWalletsState(); EthoWallets.renderWalletsState();
}); });
$("#mainNavBtnMarkets").click(function() { $("#mainNavBtnMarkets").click(function () {
EthoMainGUI.changeAppState("markets"); EthoMainGUI.changeAppState("markets");
EthoMarkets.renderMarkets(); EthoMarkets.renderMarkets();
}); });
$("#mainNavBtnUploads").click(function() { $("#mainNavBtnUploads").click(function () {
EthoMainGUI.changeAppState("uploads"); EthoMainGUI.changeAppState("uploads");
EthoUploads.renderUploads(); EthoUploads.renderUploads();
}); });
$("#mainNavBtnSettings").click(function() { $("#mainNavBtnSettings").click(function () {
EthoMainGUI.changeAppState("settings"); EthoMainGUI.changeAppState("settings");
EthoSettings.renderSettingsState(); EthoSettings.renderSettingsState();
}); });
$("#mainNavBtnAbout").click(function() { $("#mainNavBtnAbout").click(function () {
EthoMainGUI.changeAppState("about"); EthoMainGUI.changeAppState("about");
EthoAbout.renderAbout(); EthoAbout.renderAbout();
}); });

File diff suppressed because it is too large Load Diff