From dec9a39a1845c59e7237fa966725949d38b6e9e8 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 20 Sep 2024 13:44:17 +0200 Subject: chore: Move legacy dialogs template from files to core until we can remove it Signed-off-by: Ferdinand Thiessen --- core/src/OC/dialogs.js | 2 +- core/templates/legacy/fileexists.html | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 core/templates/legacy/fileexists.html (limited to 'core') diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index fb203f31d28..c10f676701d 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -772,7 +772,7 @@ const Dialogs = { var defer = $.Deferred() if (!this.$fileexistsTemplate) { var self = this - $.get(OC.filePath('files', 'templates', 'fileexists.html'), function(tmpl) { + $.get(OC.filePath('core', 'templates/legacy', 'fileexists.html'), function(tmpl) { self.$fileexistsTemplate = $(tmpl) defer.resolve(self.$fileexistsTemplate) }) diff --git a/core/templates/legacy/fileexists.html b/core/templates/legacy/fileexists.html new file mode 100644 index 00000000000..de213803e0e --- /dev/null +++ b/core/templates/legacy/fileexists.html @@ -0,0 +1,35 @@ + +
+ {why}
+ {what}
+
+ + + +
+
+
+
+
+ + +
+
+ + +
+
+
+
-- cgit v1.2.3