why is My application.js doesn't seem to work as intended?
I had my application.js look like this
Sideview.utils.declareCustomBehavior("NullModule", function(module) {
module.onContextChange = function() {
alert("Haha");
}
});
And then I have my view xml look like this:-
(module name="Table")
(module name="CustomeBehaviour")
(param name="customBehaviour")NullModule(/param)
(/module)
(/module)
Those round brackets are suppose to be angle brackets.
When I click at the table row data, it doesn’t pop up an alert box. Am I missing something here?