From: Kilian Saffran Date: Thu, 26 Aug 2021 12:14:17 +0000 (+0200) Subject: v20210826 01 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;h=9f06fb4b97b17885e60355e915350c181af2888c;p=qube.git v20210826 01 --- diff --git a/public_html/qubeshop/tmpl/elements/shoptoolbar.html b/public_html/qubeshop/tmpl/elements/shoptoolbar.html index c366995..35147eb 100644 --- a/public_html/qubeshop/tmpl/elements/shoptoolbar.html +++ b/public_html/qubeshop/tmpl/elements/shoptoolbar.html @@ -6,15 +6,6 @@ - + - {% if (session.usertype == 'admin') %} - {# #} - {% endif %} \ No newline at end of file diff --git a/public_html/qubeshop/tmpl/js/contratcadre.js b/public_html/qubeshop/tmpl/js/contratcadre.js index 454ad48..1e9a2fd 100644 --- a/public_html/qubeshop/tmpl/js/contratcadre.js +++ b/public_html/qubeshop/tmpl/js/contratcadre.js @@ -1,6 +1,10 @@ let contratcadre ={ idclient: "{{ session.id_client }}", selects: {"ccclient":null}, + view: function(){ + contratcadre.getClientList(); + myapp.viewpanel("contratcadre"); + }, init: function(){ contratcadre.selects["ccclient"] = new SlimSelect({ select: "#ccclient", @@ -58,7 +62,7 @@ let contratcadre ={ let agrp = shop.setArticleGroup(g,contratcadre.article_groups[g],contratcadre.articles,'cc'); lst.insertAdjacentHTML('beforeend',agrp); } - myapp.viewpanel("contratcadre"); + }); }).catch(e => { console.log(e)});