mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[de] Return nothing to a plugin when the builder script was canceled
This commit is contained in:
committed by
Ilya Kirillov
parent
004598a7a3
commit
0e6b2f26ba
@ -1270,14 +1270,17 @@
|
||||
{
|
||||
let _t = this;
|
||||
this.api._afterEvalCommand(function() {
|
||||
_t.api.onEndBuilderScript();
|
||||
if (!_t.api.onEndBuilderScript())
|
||||
commandReturnValue = undefined;
|
||||
|
||||
_t.shiftCommand(commandReturnValue);
|
||||
});
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.api.onEndBuilderScript();
|
||||
if (!this.api.onEndBuilderScript())
|
||||
commandReturnValue = undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user