Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-10-16 16:39:43 +0300
committerGitHub <noreply@github.com>2018-10-16 16:39:43 +0300
commit9cf73ddc318765c0c4354326979eb585acb9f5be (patch)
tree46591bf00db5db48fee489c16259b4e1872b3add
parent82065e366a4af10b446d1bcfc2908efb16d23dbf (diff)
parentda15a4dcef838db9051f56ab610bb078eab37e56 (diff)
Merge pull request #277 from nextcloud/fix/parent_filepickerv3.0.0-beta2
Use the parent filepicker
-rw-r--r--js/documents.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/documents.js b/js/documents.js
index 7510682f..82bf8f27 100644
--- a/js/documents.js
+++ b/js/documents.js
@@ -518,7 +518,7 @@ var documentsMain = {
$buttons.eq(1).text(t('richdocuments', 'Save'));
});
} else if (msgId === 'UI_InsertGraphic') {
- OC.dialogs.filepicker(t('files', 'Insert Graphic'), function(path, type) {
+ parent.OC.dialogs.filepicker(t('files', 'Insert Graphic'), function(path, type) {
if (type === OC.dialogs.FILEPICKER_TYPE_CHOOSE) {
var filename = path.substring(path.lastIndexOf('/') + 1);
$.ajax({