Merge remote-tracking branch 'origin/develop' into feature/CSR-504v2
This commit is contained in:
commit
7e05946a27
2 changed files with 3 additions and 11 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
<!-- Modal -->
|
<!-- Modal -->
|
||||||
<div
|
<div
|
||||||
class="modal fade modal-component"
|
class="modal fade modal-component"
|
||||||
|
v-on="{ 'hidden.bs.modal': resetButtonStyle }"
|
||||||
:id="this.cmsWidgetName"
|
:id="this.cmsWidgetName"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
aria-labelledby="ModalComponentLabel"
|
aria-labelledby="ModalComponentLabel"
|
||||||
|
|
@ -61,16 +62,10 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setupModalEventListener() {
|
resetButtonStyle() {
|
||||||
const modal = document.querySelector("#" + this.cmsWidgetName);
|
this.$refs.buttonMain.resetButtonStyle();
|
||||||
modal.addEventListener("hidden.bs.modal", (event) => {
|
|
||||||
this.$refs.buttonMain.resetButtonStyle();
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
this.setupModalEventListener();
|
|
||||||
},
|
|
||||||
components: {
|
components: {
|
||||||
buttonMain,
|
buttonMain,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -55,9 +55,6 @@ export default {
|
||||||
this.isLoaderDisplayed = false;
|
this.isLoaderDisplayed = false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
this.isLoaderDisplayed = false;
|
|
||||||
},
|
|
||||||
components: {
|
components: {
|
||||||
loader,
|
loader,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue