Coder Social home page Coder Social logo

Comments (12)

meyergru avatar meyergru commented on August 18, 2024 1

That was the correct hint: Yes, it does so - but asynchronously! Remove the "async" attribute and ko will be ready at the right time. I just did that and it works right away. It even fixes the problem for initial loading in Chrome!

from tch-nginx-gui.

Ansuel avatar Ansuel commented on August 18, 2024

Show me the error from chrome

from tch-nginx-gui.

meyergru avatar meyergru commented on August 18, 2024

Wow. In Chrome, once I reload the page, the load is shown, but not initially. What is that?

from tch-nginx-gui.

Ansuel avatar Ansuel commented on August 18, 2024

that thing is based on ajax request of a lua file... can you provide me the error of the browser where is not shown?

from tch-nginx-gui.

meyergru avatar meyergru commented on August 18, 2024

When I open the start page, the Firefox console shows this:

grafik

from tch-nginx-gui.

Ansuel avatar Ansuel commented on August 18, 2024

@meyergru what version are you using?

from tch-nginx-gui.

meyergru avatar meyergru commented on August 18, 2024

6.7.61 - I just tried 6.7.64 and it gives the same error.

from tch-nginx-gui.

Ansuel avatar Ansuel commented on August 18, 2024

@meyergru too strange try clean cache?

from tch-nginx-gui.

meyergru avatar meyergru commented on August 18, 2024

Yes. I even tried it with SSL and without, because I suspected the XHR request goes wrong, but it is never called. Even with Chrome, only the frist refresh works (automatically after 5 secs).

I think the error message tells a tale: It seems there is a problem with the knockout construct, although I am at a loss why. Probably, the ko object is not yet instantiated when the GatewayCard is called.

from tch-nginx-gui.

Ansuel avatar Ansuel commented on August 18, 2024

it's strange cause gateway.lp load the knockout js so....

from tch-nginx-gui.

Ansuel avatar Ansuel commented on August 18, 2024

Will remove async then

from tch-nginx-gui.

meyergru avatar meyergru commented on August 18, 2024

Should be done with the latest commit.

from tch-nginx-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.