From 7253354144146ab51e2e7250529bbb6aa1a42f45 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 6 Jul 2018 12:28:40 +0200 Subject: [PATCH] Added files that were missing in alst commit. --- .../content/shared/assets-editor.component.html | 4 ++-- .../content/shared/references-editor.component.html | 4 ++-- .../content/shared/references-editor.component.ts | 13 +++---------- .../components/markdown-editor.component.html | 2 +- .../shared/components/rich-editor.component.html | 2 +- 5 files changed, 9 insertions(+), 16 deletions(-) diff --git a/src/Squidex/app/features/content/shared/assets-editor.component.html b/src/Squidex/app/features/content/shared/assets-editor.component.html index 70da5dcb2..92528dafc 100644 --- a/src/Squidex/app/features/content/shared/assets-editor.component.html +++ b/src/Squidex/app/features/content/shared/assets-editor.component.html @@ -1,7 +1,7 @@
-
+
Drop files here to add them.
@@ -16,6 +16,6 @@
- + \ No newline at end of file diff --git a/src/Squidex/app/features/content/shared/references-editor.component.html b/src/Squidex/app/features/content/shared/references-editor.component.html index 52c39f60b..cefec023c 100644 --- a/src/Squidex/app/features/content/shared/references-editor.component.html +++ b/src/Squidex/app/features/content/shared/references-editor.component.html @@ -1,7 +1,7 @@
-
+
Click here to link a content.
@@ -26,7 +26,7 @@
- + ; - public isModalVisibible = false; + public selectorDialog = new DialogModel(); public schema: SchemaDetailsDto; @@ -110,14 +111,6 @@ export class ReferencesEditorComponent implements ControlValueAccessor, OnInit { this.callTouched = fn; } - public showModal() { - this.isModalVisibible = true; - } - - public hideModal() { - this.isModalVisibible = false; - } - public select(contents: ContentDto[]) { for (let content of contents) { this.contentItems = this.contentItems.push(content); @@ -127,7 +120,7 @@ export class ReferencesEditorComponent implements ControlValueAccessor, OnInit { this.updateValue(); } - this.hideModal(); + this.selectorDialog.hide(); } public remove(content: ContentDto) { diff --git a/src/Squidex/app/shared/components/markdown-editor.component.html b/src/Squidex/app/shared/components/markdown-editor.component.html index 40b944e04..1060de076 100644 --- a/src/Squidex/app/shared/components/markdown-editor.component.html +++ b/src/Squidex/app/shared/components/markdown-editor.component.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/src/Squidex/app/shared/components/rich-editor.component.html b/src/Squidex/app/shared/components/rich-editor.component.html index 4b5cf0049..05dde5606 100644 --- a/src/Squidex/app/shared/components/rich-editor.component.html +++ b/src/Squidex/app/shared/components/rich-editor.component.html @@ -6,6 +6,6 @@ - + \ No newline at end of file