From f346e282c622855a7b7c38349a498b7580a93ce4 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Tue, 29 Oct 2024 10:32:42 -0300 Subject: [PATCH] We appropriated the dialog template that was removed in nc30. Issue #779 --- src/dialogs.js | 2 +- templates/message.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 templates/message.html diff --git a/src/dialogs.js b/src/dialogs.js index da7b7b50..07073912 100644 --- a/src/dialogs.js +++ b/src/dialogs.js @@ -470,7 +470,7 @@ const FrDialogs = { var defer = $.Deferred(); if (!this.$messageTemplate) { var self = this; - $.get(OC.filePath('core', 'templates', 'message.html'), function (tmpl) { + $.get(OC.filePath('facerecognition', 'templates', 'message.html'), function (tmpl) { self.$messageTemplate = $(tmpl); defer.resolve(self.$messageTemplate); }) diff --git a/templates/message.html b/templates/message.html new file mode 100644 index 00000000..06f8a789 --- /dev/null +++ b/templates/message.html @@ -0,0 +1,3 @@ +
+

{message}

+