Skip to content
Snippets Groups Projects
Commit 9feee96e authored by Benoit Alessandroni's avatar Benoit Alessandroni
Browse files

Some fixes

parent a0681cbf
No related branches found
No related tags found
1 merge request!154Bugfix/add interfacelanguage on everyspace
Pipeline #5745 failed
...@@ -25,6 +25,11 @@ head ...@@ -25,6 +25,11 @@ head
{ {
"entrepreneurProfile": "http://happy-dev.fr/owl/#entrepreneur_profile", "entrepreneurProfile": "http://happy-dev.fr/owl/#entrepreneur_profile",
"mentorProfile": "http://happy-dev.fr/owl/#mentor_profile", "mentorProfile": "http://happy-dev.fr/owl/#mentor_profile",
"account": "http://happy-dev.fr/owl/#account" "account":"hd:account",
"avatar":"foaf:depiction",
"picture":"foaf:depiction",
"messageSet":"http://happy-dev.fr/owl/#message_set",
"author":"http://happy-dev.fr/owl/#author_user",
"title":"http://happy-dev.fr/owl/#title"
} }
...@@ -159,6 +159,7 @@ function selectHiddenManagement(select_hidden, option_selected) { ...@@ -159,6 +159,7 @@ function selectHiddenManagement(select_hidden, option_selected) {
//Trigerring a reload of the associated form //Trigerring a reload of the associated form
let parent_form = select_hidden.closest("sib-form"); let parent_form = select_hidden.closest("sib-form");
parent_form.component.inputChange(); parent_form.component.inputChange();
parent_form.dispatchEvent(new CustomEvent('formChange'));
refreshPagination(); refreshPagination();
} }
...@@ -171,6 +172,7 @@ function inputHiddenManagement(field, field_search) { ...@@ -171,6 +172,7 @@ function inputHiddenManagement(field, field_search) {
field.setAttribute("value", field_search.value); field.setAttribute("value", field_search.value);
let parent_form = field.closest("sib-form"); let parent_form = field.closest("sib-form");
parent_form.component.inputChange(); parent_form.component.inputChange();
parent_form.dispatchEvent(new CustomEvent('formChange'));
refreshPagination(); refreshPagination();
} }
...@@ -205,6 +207,7 @@ function selectHiddenManagementForType(tab, form) { ...@@ -205,6 +207,7 @@ function selectHiddenManagementForType(tab, form) {
let parent_form = select_hidden.closest("sib-form"); let parent_form = select_hidden.closest("sib-form");
if (parent_form) { if (parent_form) {
parent_form.component.inputChange(); parent_form.component.inputChange();
parent_form.dispatchEvent(new CustomEvent('formChange'));
refreshPagination(); refreshPagination();
} }
}); });
...@@ -239,6 +242,7 @@ function InitManagementForType() { ...@@ -239,6 +242,7 @@ function InitManagementForType() {
//Trigerring a reload of the associated form //Trigerring a reload of the associated form
let parent_form = select_hidden.closest("sib-form"); let parent_form = select_hidden.closest("sib-form");
parent_form.component.inputChange(); parent_form.component.inputChange();
parent_form.dispatchEvent(new CustomEvent('formChange'));
refreshPagination(); refreshPagination();
}); });
}); });
...@@ -485,6 +489,7 @@ function addProperFilterToSearchComponents(targetId) { ...@@ -485,6 +489,7 @@ function addProperFilterToSearchComponents(targetId) {
let parent_form = hidden_field.closest("sib-form"); let parent_form = hidden_field.closest("sib-form");
parent_form.component.inputChange(); parent_form.component.inputChange();
parent_form.dispatchEvent(new CustomEvent('formChange'));
refreshPagination(); refreshPagination();
}); });
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment