diff options
Diffstat (limited to 'plugins/CoreHome/vue/src/MatomoDialog/MatomoDialog.adapter.ts')
-rw-r--r-- | plugins/CoreHome/vue/src/MatomoDialog/MatomoDialog.adapter.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/CoreHome/vue/src/MatomoDialog/MatomoDialog.adapter.ts b/plugins/CoreHome/vue/src/MatomoDialog/MatomoDialog.adapter.ts index 659bcaa97e..ee03ce55c7 100644 --- a/plugins/CoreHome/vue/src/MatomoDialog/MatomoDialog.adapter.ts +++ b/plugins/CoreHome/vue/src/MatomoDialog/MatomoDialog.adapter.ts @@ -34,6 +34,12 @@ export default createAngularJsAdapter<[IParseService]>({ setTimeout(() => { scope.$apply(); }, 0); } }, + validation: ($event, scope, element, attrs) => { + if (attrs.no) { + scope.$eval(attrs.no); + setTimeout(() => { scope.$apply(); }, 0); + } + }, close: ($event, scope, element, attrs) => { if (attrs.close) { scope.$eval(attrs.close); |