facebook

Working with the custom.js file

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #335860 Reply

    Gpietrangelo
    Member

    I am relatively new to Mobione and I need some guidance on one last issue I and struggling with…

    I believe I have updated to the latest (2.3.)
    I created a simple app to display an alert box when a button is pushed

    I get the app to work … However, I started experimenting with moving the code to the *-custom.js file

    I can open project in test center , make changes and the app works ( sees the new code when I press save)

    The first thing I notice is all my files are tagged withe the red remote label,
    And I can seem to find where to change this setting

    When I clicked save I thought all my code would be saved and not changed based on what I read about the custom.js file

    I go back to design center (closing test center) change somethin then reopen in test center and my custom.js is gone…

    How do I get the custom.js from not being over written ?

    I am running this one on a MAC w/ parallels 8.

    I also keep getting error after the the first test center run saying the .json files are hidden
    I can delete the .json files and it generates the files agian but it is annoying

    But the custom.js file being reset all the time (or never saved) is a show stopper for me

    Thanks , I hope is is something simple

    #335912

    @Gpietrangelo,

    Are you editting the _custom.js when you have uploaded your project as a webapp? (I’m asking this because it seems to be as you stated that resources files are shown with the remote resource red label)

    Can you try editting the _custom.js file running your project locally: Project Menu > Run in Test Center. Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Working with the custom.js file

You must be logged in to post in the forum log in