Browse Source
chore: Move legacy dialogs template from files to core until we can remove it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/48241/head
Ferdinand Thiessen
1 year ago
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
2 changed files with
1 additions and
1 deletions
-
core/src/OC/dialogs.js
-
core/templates/legacy/fileexists.html
|
|
|
@ -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) |
|
|
|
}) |
|
|
|
|