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

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-01-24 10:18:51 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-01-24 10:18:51 +0300
commitc5e7a4f247c530df9d1fff83dde47d07590b0f1e (patch)
treef8df548663c146ae8186fc932bc94f0a2e1b030f /js
parentfaf401a3508cb4dd8265005ce2539fb03afd666d (diff)
Fix directy opening editor from new menu
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'js')
-rw-r--r--js/newfileplugin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/newfileplugin.js b/js/newfileplugin.js
index efe64bd..8c01b52 100644
--- a/js/newfileplugin.js
+++ b/js/newfileplugin.js
@@ -21,7 +21,7 @@ export const newFileMenuPlugin = {
fileList.createFile(name).then(function () {
// once the file got successfully created,
// open the editor
- Files_Texteditor._onEditorTrigger(
+ OCA.Files_Texteditor._onEditorTrigger(
name,
{
fileList: fileList,