Cin7 templates - missed something in the cataloggit status Anthology bulk knowledgestate fix.

This commit is contained in:
Norm Rasmussen
2024-08-21 12:11:42 -04:00
parent f4012dd6af
commit 1fa8c139e8
11 changed files with 23 additions and 290 deletions

View File

@ -8,8 +8,8 @@
{% assign lang = current_person.properties.language %}
{% case lang %}
{% when "es" %}
{% include "spanish_lang" %}
{% when "fr" %}
{% include "french_canadian_lang" %}
{% endcase %}
@ -20,14 +20,14 @@ function setLang(lang) {
if (localStorage.getItem('language') == null || localStorage.getItem('language') != lang) {
localStorage.setItem('language', lang)
}
var data = {
uuid : '{{current_person.id}}',
language : lang
};
$.ajax({
type : 'POST',
url : 'https://webhooks.workato.com/webhooks/rest/06186897-993c-458b-a8e6-394db4151bd0/langchange',
url: 'https://webhooks.workato.com/webhooks/rest/06186897-993c-458b-a8e6-394db4151bd0/langchange-luminate-canada',
data: JSON.stringify(data),
success:function (data) {
console.log(data);
@ -39,7 +39,7 @@ function setLang(lang) {
});
}
/* When the user clicks on the button,
/* When the user clicks on the button,
toggle between hiding and showing the dropdown content */
function myFunction() {
document.getElementById("myDropdown").classList.toggle("show");