jQuery UI dialog + Ajax fails with IE 6-7-8
- by user252849
hey
i have problem with jQuery-ui Dialog when using ajax
$.ajax({ 
                        url: "folders.php", 
                        cache: false,
                        data: {
                                'do' : 'Ajax'
                                ,'_a' : 'ChangeMoviesFolder'
                                ,'MovieIDS' : MovieIDS
                                ,'toFolderID' : toFolderID
                                ,'fromFolderID' : fromFolderID
                        },
                        context: document.body, 
                        open: function(event, ui) {
                            alert('open');
                        },
                        error : function(XMLHttpRequest, textStatus, errorThrown){
                             // Handle the beforeSend event
//                          alert("responseText: "+errorThrown.message);
                           },
                        success: function(data){
                            $('input.checkMovie').attr('checked',0);
                                $("#resultsTable").find('tr.selectable-row').removeClass('active');
                            if (data == '1')
                            {
                                window.location = WWW_ROOT+'movies.php?do=List&FolderID='+toFolderID;
                            }
                             $dialog.dialog("close"); 
                      }});
when using IE ajax never get to success option
in error i got 
"This method cannot be called until the open method has been called"
Its happen only in IE.
Does any one may know what the problem might be ?
(all vars are ok and works perfectly in FF & chrome)
thanks.