Does anyone know how to execute a browser lock command from an extension? The command works fine from the menu item, it can be assigned to a button, but it does not start from the extension. What could be the reason? For example, to run from the icon, the code will be like this:
<div class="item lock" mx-click="cmd.lockBrowser" title="$cmd.lockBrowser$" >
<div class="icon"/>
</div>
But in the extension the same code doesn't work:
"actions": [
{ "type": "mxcmd",
"entryPoints": ["toolbar"],
"cmd": "cmd.lockBrowser" } ]
And without the cmd too:
"actions": [
{ "type": "mxcmd",
"entryPoints": ["toolbar"],
"cmd": "lockBrowser" } ]
What's wrong???