Peter Lam
Posts: 0
Joined: Mon Nov 24, 2014 4:34 pm

Incorrect Event Fire in Detail Page

In Tablet Detail Page, I can see double "Load" event but I don't see "Page Show" event.
I use the following method to verify this:
I add JS event handle to "Load" and "Page Show" events to print different console log. In the console, I can see "Load" twice but I don't see "Page Show".

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Incorrect Event Fire in Detail Page

I have seen this behavior as well ... I was debugging my app yesterday and saw it running events that should be processed only once during page load ... Twice ... I assumed it was bad code or an anomaly

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Incorrect Event Fire in Detail Page

Hello Bruce,

You should add on master-detail page event onpageshow

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Incorrect Event Fire in Detail Page

Ihor, on page show ... What could should I add ??

Peter Lam
Posts: 0
Joined: Mon Nov 24, 2014 4:34 pm

Incorrect Event Fire in Detail Page

Hi lhor,

I can see "Page Show" event is fired once in master-detail page. Also, I want to do something to initial the detail page when the detail page is loaded or showed. I can't trigger the action in detail page from the master-detail page.

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Incorrect Event Fire in Detail Page

Bruce,

You can add what ever you would like. Previously event working for you

Ihor Didevych
Posts: 0
Joined: Wed Nov 19, 2014 7:55 pm

Incorrect Event Fire in Detail Page

Hi Peter,

You can load event instead

Return to “Issues”