I have this code:
targetMu: function(programmeCode, muId) { //Parameter values are fine here targetMuController.targetMuView.on(\"targetMu:afterRender\", fun
, function(programmeCode, muId) {
You just declared new parameters in the callback function with the same names.
Inside the callback, these names refer to the inner parameters – whatever was passed to the callback.