[desktop] changed 'desktop' controller
This commit is contained in:
parent
0873f056e1
commit
b1233935d8
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue