Title: window('open'); something.each(); then window('close') doesn't work in chrome Post by: Juan Antonio Martínez on August 22, 2015, 04:30:01 PM Hi all.
I want a progress dialog window to be shown while several ajax call are being processed. So I have following code: Code: <!-- progress window to show inscription progress --> This code works fine in firefox: window is displayed, and progressbar shows progress on each ajax sync call; and when last ajax call is performed, window is closed But when running in Google Chrome, window does not appear, ajax calls are performed but no window nor progress shown What am I doing wrong? Thanks in advance Title: Re: window('open'); something.each(); then window('close') doesn't work in chrome Post by: jarry on August 22, 2015, 06:38:19 PM Due to the detrimental effects to the end user's experience, the chrome does not allow synchronous request on the main thread. Please prevent from setting async to false when calling $.ajax.
Title: Re: window('open'); something.each(); then window('close') doesn't work in chrome Post by: Juan Antonio Martínez on August 23, 2015, 01:27:17 AM OK. I've seen deprecation notice in chrome dev console, but didn't know that modern chrome just ignores 'async:false' directive
I'll rewrite my code. Thanks |