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
parent
commit
dec9a39a18
No known key found for this signature in database GPG Key ID: 45FAE7268762B400
  1. 2
      core/src/OC/dialogs.js
  2. 0
      core/templates/legacy/fileexists.html

2
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)
})

0
apps/files/templates/fileexists.html → core/templates/legacy/fileexists.html

Loading…
Cancel
Save