facebook

editing starting .html 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 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #318057 Reply

    SonamGyato
    Member

    when i edit the auto-generated .html file…
    i build the app and tell the builder NOT to
    over-write the .html file,

    the my-sample-list_custom.js file

    phoneui.documentReadyHandler = function()
    {
    }

    function is not being called.

    if i tell the builder to auto-gen the .html file – it gets called.

    i’m trying to evaluate wx this framework will work for
    us…

    #318067

    support-michael
    Keymaster

    @everest
    I ran a couple of simple examples and found that my simple documentReadyHander is being invoked when I modify the generated html. Here’s my trivial documentReadyHander function:

    phoneui.documentReadyHandler = function() {
    alert(‘doc ready’);
    }

    What code modifications are you making? Your code modification may be interfering with the phoneui.js startup process in someway. Need more info to fully diagnose.

    #318079

    SonamGyato
    Member

    attached is the zip file of my test app.

    i created a list in the builder and let it generate
    a my-sample-list.html file.

    i then edited it – commenting out the middle item.

    and then i rebuild the app w/o auto-gen and now
    the phoneui.documentReadyHandler() function
    in the custom file does not get called.

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: editing starting .html file

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