callCommand Callback

Do you want to: Report a bug
version 9.0.3
Dear all,

The callback of inner callCommand are not been called. In the example below, callback2 is never written in the console.

window.Asc.plugin.callCommand(
    function() {
        var oDocument = Api.GetDocument();
        console.debug("call1")
    },
    false,
    true,
    function(){
        console.debug("callback1");
        window.Asc.plugin.callCommand(
            function() {
                var oDocument = Api.GetDocument();
                console.debug("call2")
            },
            false,
            true,
            function(){
                console.debug("callback2");
            }
        );
    }
);

However, using executeMethod, the callbacks works well. Do you think that could be solved?
best,

Hello @humbol

This behavior is a bug and it’ll be fixed in upcoming hotfix v9.0.4. Thank you for the interest.