[desktop] changed 'desktop' controller

This commit is contained in:
Maxim Kadushkin 2020-05-22 18:02:54 +03:00
parent 0873f056e1
commit b1233935d8

View file

@ -276,7 +276,7 @@ define([
} else } else
if ( opts == 'create:new' ) { if ( opts == 'create:new' ) {
if (config.createUrl == 'desktop://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; return true;
} }
} }