Hi,
Is impossible to call object method in toolbar action.
For example I have output from XML:
And have JS:
APP.Warehouse = {
newWarehouse: function() { console.log(‘test’); }
}
The pushing button, nothing happend. But then I add into button action for example: “newWarehouse” and in JS just writing normal function " function newWarehouse() { }" everything works fine.
Is it imposibble to call method in toolbar action?