AnsweredAssumed Answered

finesse unload event

Question asked by chapelain36 on Mar 29, 2016
Latest reply on Mar 29, 2016 by dekwan

Hi, all.

I am working with finesse in the sandbox lab.

How can I catch the window.unload event?
I have the following code in gadget init function.

 

$(window).on('unload', function() {

var x ="unload";

return x;

});

 

This code works on any other webpage. Similar code works for "beforeunload" event in finesse.
But finesse ignores it, when I am closing the page, even if I am setting the breakpoint in this function.

 

What am I doing wrong? Maybe I missed something?

Thank you.

 

With regards, Yuriy.

 

 

 

 

 

 

 

t

Outcomes