Skip to content

Spinner "start" called before "init" #136

Open

Description

@matoni555

I'm using latest version 2.2.0 and spinner extension.
Start function is called before init function, which causes JavaScript error:

script.js Uncaught TypeError: Cannot read property 'show' of null

Why the start function is called before init?

Activity

  1. vojtech-dobes commented on Feb 23, 2017

    @vojtech-dobes
    Owner

    I am sorry but I cannot reproduce this problem with latest Nette sandbox and nette.ajax.js 2.2.0. Could you share more of your code?

  2. brosland commented on Apr 15, 2017

    @brosland

    I had the same problem. The reason was that I called $.nette.ajax({...}) before $.nette.init().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions