mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Fix bug 69856
This commit is contained in:
@ -1407,6 +1407,8 @@
|
|||||||
|
|
||||||
getCurrentPluginGuid : function()
|
getCurrentPluginGuid : function()
|
||||||
{
|
{
|
||||||
|
if (this.queueCommands.length === 0)
|
||||||
|
return "";
|
||||||
return this.queueCommands[0].guid;
|
return this.queueCommands[0].guid;
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -1480,6 +1482,8 @@
|
|||||||
setPluginMethodReturnAsync : function()
|
setPluginMethodReturnAsync : function()
|
||||||
{
|
{
|
||||||
let currentPlugin = this.getCurrentPluginGuid();
|
let currentPlugin = this.getCurrentPluginGuid();
|
||||||
|
if (currentPlugin === "")
|
||||||
|
return;
|
||||||
if (this.runnedPluginsMap[currentPlugin])
|
if (this.runnedPluginsMap[currentPlugin])
|
||||||
this.runnedPluginsMap[currentPlugin].methodReturnAsync = true;
|
this.runnedPluginsMap[currentPlugin].methodReturnAsync = true;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user