Cin7 templates - missed something in the cataloggit status Anthology bulk knowledgestate fix.
This commit is contained in:
@ -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");
|
||||
|
||||
Reference in New Issue
Block a user