Forum Post: RE: OEMobile Popup

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello, The MyPhoneApp.js file is generated by the Mobile App Builder. Even though the Source Tab can be used to edit generated files, these changes are not processed back into the designer. The MyPhoneApp.js file would now be marked as modified and will not be regenerated. (You can see this by adding code or by looking a the code via the web browser.) Sanjeev Reddy's suggestion was to change them in the Event tab and use the source code to find the references. The only cases where you needed to change navigateTo() to openPopup() would be for events using the "Run JavaScript" action. Events using "Open as popup" action should generate the new code automatically. You may probably want to revert this change so that MyPhoneApp.js is managed by the Mobile App Builder and be regenerated when adding/updating events in the app. You could contact Technical Support so that they can give you assistance on reverting this action by using a backup file. I found a way to do this from the Mobile App Builder for MyPhoneApp.js, in case you want to try. Here are the steps: 1) Backup Mobile App. (The version option can also be used to create a restore to restore from.) 2) Remove MyPhoneApp.js. 3) Turn off "Render all pages in one HTML file" in App settings. 4) Test Mobile app. The Mobile App Builder will generate the HTML, CSS and JS files for all the pages in the app. 5) Turn on "Render all pages in one HTML file" in App settings. 5) Test Mobile app. The Mobile App Builder will generate all pages in one HTML, CSS and JS. This will then regenerate MyPhoneApp.js and clear the modfied flag. I hope this helps.

Continue reading...
 
Status
Not open for further replies.
Back
Top