Skip to content

Commit

Permalink
We appropriated the dialog template that was removed in nc30. Issue #779
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasdelellis committed Oct 29, 2024
1 parent 466471c commit f346e28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
Expand Down
3 changes: 3 additions & 0 deletions templates/message.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div id="{dialog_name}" title="{title} ">
<p><span class="ui-icon ui-icon-{type}"></span>{message}</p>
</div>

0 comments on commit f346e28

Please sign in to comment.