EasyUI Forum
March 05, 2026, 03:31:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Bug Report / Datagrid load cancelled on IE9 on: April 10, 2013, 09:02:21 AM
Hi!

I have a datagrid loaded from a click in a listitem, on IE9 the datagrid is not loaded because the ajax request is cancelled.

http://stackoverflow.com/questions/7577275/jquery-ajax-requests-are-getting-cancelled-without-being-sent
http://stackoverflow.com/questions/10990607/jquery-ajax-post-canceled

A workaround is execute the ajax query syncronous. I modified jquery.easyui.min.js setting async=false from a grid option:

Ln.8473 $.ajax({type:opts.method,url:opts.url,data:_629,dataType:"json",success:function(data){
Ln.8473 $.ajax({type:opts.method,url:opts.url,data:_629,dataType:"json",async:!opts.sync,success:function(data){

Can you give me a better solution?

Thanks and best regards,
Jose

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!