summaryrefslogtreecommitdiffstats
path: root/dist/js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-06-04 15:58:49 +0200
committerrstular <rok@stular.eu>2020-06-04 15:58:49 +0200
commita55ce514441b2dee1e0e8d2fdbcc1447fa56ad12 (patch)
tree1b66a6eec60deb6f73ba91ed4316945a050bbc17 /dist/js
parentversion bump to 1.0.14.1-beta (diff)
downloadbeziapp-a55ce514441b2dee1e0e8d2fdbcc1447fa56ad12.tar
beziapp-a55ce514441b2dee1e0e8d2fdbcc1447fa56ad12.tar.gz
beziapp-a55ce514441b2dee1e0e8d2fdbcc1447fa56ad12.tar.bz2
beziapp-a55ce514441b2dee1e0e8d2fdbcc1447fa56ad12.tar.lz
beziapp-a55ce514441b2dee1e0e8d2fdbcc1447fa56ad12.tar.xz
beziapp-a55ce514441b2dee1e0e8d2fdbcc1447fa56ad12.tar.zst
beziapp-a55ce514441b2dee1e0e8d2fdbcc1447fa56ad12.zip
Diffstat (limited to 'dist/js')
-rwxr-xr-xdist/js/app.js2
-rw-r--r--dist/js/messaging.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/dist/js/app.js b/dist/js/app.js
index 6980e00..d918e1c 100755
--- a/dist/js/app.js
+++ b/dist/js/app.js
@@ -3,7 +3,7 @@
const app_version = "1.0.14.1-beta";
-const previous_commit = "a5e93ee02ed3bb5d2996ed4de85ad1149d51ef3f";
+const previous_commit = "cc82f7c592a75efaa57292e27f0596ce1ab1b6a6";
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js")
diff --git a/dist/js/messaging.js b/dist/js/messaging.js
index 762db73..1650563 100644
--- a/dist/js/messaging.js
+++ b/dist/js/messaging.js
@@ -135,6 +135,6 @@ input.click();});$("#full-name").on("blur",validateName);$("#refresh-icon").clic
</div>
`}
console.log(msgcontent);console.log(encrypted_message);sendMessage(value[$("#full-name").val()],msgsubject,htmlEncode(msgcontent));$("#msg-body").val("");$("#full-name").val("");$("#msg-subject").val("");$("#msg-send").attr("disabled","disabled");additionalstufftoaddtomessage="";$("#msg-added-image").html("");$("#msg-e2ee-pass").hide();}).catch(function(err){UIAlert(`${D("unableToReadDirectory")} ${D("messageCouldNotBeSend")}`,"45245");console.log(err);});});}
-function getUrlParameter(sParam){const url_params=new URLSearchParams(window.location.search);const found_param=url_params.get(sParam);return found_param}
+function getUrlParameter(sParam){const url_params=new URLSearchParams(window.location.search);const found_param=url_params.get(sParam);return found_param;}
var additionalstufftoaddtomessage="";document.addEventListener("DOMContentLoaded",()=>{checkLogin();const modal_elems=document.querySelectorAll('.modal');const modal_options={onOpenStart:()=>{$("#fab-new").hide()},onCloseEnd:()=>{$("#fab-new").show()},dismissible:false};M.Modal.init(modal_elems,modal_options);loadDirectory();setupEventListeners();const tabs=document.querySelectorAll(".tabs");const tab_options={onShow:(tab)=>{if($(tab).hasClass("active")){switch(tab.id){case"beziapp-received":current_tab=0;loadMessages(false,0);break;case"beziapp-sent":current_tab=1;loadMessages(false,1);break;case"beziapp-deleted":current_tab=2;loadMessages(false,2);break;}}}};M.Tabs.init(tabs,tab_options);const fab_options={hoverEnabled:false,toolbarEnabled:false}
const fab_elem=document.querySelectorAll(".fixed-action-btn");M.FloatingActionButton.init(fab_elem,fab_options);var receivedmessages=null;loadMessages(true,0);M.updateTextFields();const menus=document.querySelectorAll(".side-menu");M.Sidenav.init(menus,{edge:"right",draggable:true});}); \ No newline at end of file