diff --git a/core/src/jquery/ocdialog.js b/core/src/jquery/ocdialog.js index 518a28f75d3..8c4a7602a78 100644 --- a/core/src/jquery/ocdialog.js +++ b/core/src/jquery/ocdialog.js @@ -210,9 +210,14 @@ $.widget('oc.ocdialog', { } const self = this + let contentDiv = $('#content') + if (contentDiv.length === 0) { + // nextcloud-vue compatibility + contentDiv = $('.content') + } this.overlay = $('