jQWidgets Forums

jQuery UI Widgets Forums Plugins Data Adapter async set to false

This topic contains 2 replies, has 3 voices, and was last updated by  Pietervk 8 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • async set to false #84798

    EricK
    Participant

    Hello to all.
    Browser: Chrome development mode.
    I get this warning when I perform ajax call using async:false.

    Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.

    Should I be concerned about the warning?

    Eric

    async set to false #84805

    Peter Stoev
    Keymaster

    Hi Eric,

    If it works, you shouldn’t be. If you wish, you can always use a different approach and load it from local data.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    async set to false #89371

    Pietervk
    Participant

    Hi Erick,
    that is a warning not an error. The warning is there to tell you that you should not set async:false in an ajax call. It is intentional.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.