summaryrefslogtreecommitdiffstats
path: root/assets/js/lopolisc.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-09-26 23:41:56 +0200
committersijanec <sijanecantonluka@gmail.com>2020-09-26 23:41:56 +0200
commit140f8a9b1842bb999da12073ea2e52fd0c72b1b5 (patch)
tree27040633a2974a031ac69a571c3ea82a6021f16d /assets/js/lopolisc.js
parentmeals now works! todo: fix checkouts and integrate into meals.html (diff)
downloadbeziapp-140f8a9b1842bb999da12073ea2e52fd0c72b1b5.tar
beziapp-140f8a9b1842bb999da12073ea2e52fd0c72b1b5.tar.gz
beziapp-140f8a9b1842bb999da12073ea2e52fd0c72b1b5.tar.bz2
beziapp-140f8a9b1842bb999da12073ea2e52fd0c72b1b5.tar.lz
beziapp-140f8a9b1842bb999da12073ea2e52fd0c72b1b5.tar.xz
beziapp-140f8a9b1842bb999da12073ea2e52fd0c72b1b5.tar.zst
beziapp-140f8a9b1842bb999da12073ea2e52fd0c72b1b5.zip
Diffstat (limited to 'assets/js/lopolisc.js')
-rw-r--r--assets/js/lopolisc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/lopolisc.js b/assets/js/lopolisc.js
index 14e7a72..6170ede 100644
--- a/assets/js/lopolisc.js
+++ b/assets/js/lopolisc.js
@@ -166,7 +166,7 @@ class lopolisc {
for (const [index, property] of Object.entries(odjava_object)) {
dataToSend[index] = property;
}
- dataToSend["OdjavaItems["+odjava_object.index+".CheckOut"] =
+ dataToSend["OdjavaItems["+odjava_object.index+"].CheckOut"] =
String(odjava_object.checked);
} // now we have some excess values, who cares (index, readonly, checked)
this.postback(LOPOLIS_URL+"Prehrana/Odjava", dataToSend, null, true).