Following Dojo's documentation, I linked a function using dojo.connect
to a dojox.layout.ContentPane
:
dojo.connect(cp, 'onHide', function(e) {
alert('test');
console.log(e);
});
My assumption was that argument e
would contain the triggered event object, but strangely the console output shows undefined
.
What could be causing this issue?