Right now, onExit() can't override the default exit() function. For example:
widget.onexit = function()
MoObject.trackShutdown("Exit MoSurfPhoto", currentScreen);
var isExit = confirm('- Do you want to exit?');
if (isExit == true)
For my WRT widget to work correctly, I have to create another Exit-Normally function. But that's not the best solution. I'm wondering Nokia tech can help on this. We will likely work as Nokia partners in the future. This feature is very important for us.