Load Event Random
I have two apps. Both apps open a Popup Screen. The first App is simple with just a few input fields, the second app has its fields populated by REST. In the second app, the input fields are populated each time the page show event is triggered. All this works fine.
I want to now, only populate the input fields in the second app when the page load event occurs not when the page show event occurs. I would expect that invoking the REST service through the Load event would accomplish this.
However, it appears that in the second app the Load event gets fired every time the popup is closed. This is not happening in the first app, which behaves as expected.
Can you please help me understand the behavior and how I can remedy the situation ?
Thanks