From b1233935d82922d4d508f1d0e48447f36a38f8aa Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Fri, 22 May 2020 18:02:54 +0300 Subject: [PATCH] [desktop] changed 'desktop' controller --- apps/common/main/lib/controller/Desktop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/controller/Desktop.js b/apps/common/main/lib/controller/Desktop.js index a5cd5bae3..3c82eaa27 100644 --- a/apps/common/main/lib/controller/Desktop.js +++ b/apps/common/main/lib/controller/Desktop.js @@ -276,7 +276,7 @@ define([ } else if ( opts == 'create:new' ) { if (config.createUrl == 'desktop://create.new') { - native.LocalFileCreate(!!window.SSE ? 2 : !!window.PE ? 1 : 0); + native.execCommand("create:new", !!window.SSE ? 'cell' : !!window.PE ? 'slide' : 'word'); return true; } }