#4165: Upload Progress Middleware and Integration into the Admin
---------------------------------------------+------------------------------
   Reporter:  Michael Axiak <[EMAIL PROTECTED]>  |                Owner:  
adrian                
     Status:  new                            |            Component:  Admin 
interface       
    Version:  SVN                            |           Resolution:            
            
   Keywords:  upload, progress               |                Stage:  Design 
decision needed
  Has_patch:  1                              |           Needs_docs:  1         
            
Needs_tests:  1                              |   Needs_better_patch:  1         
            
---------------------------------------------+------------------------------
Comment (by anonymous):

 On IE6,
    An ajax request is not work, I try this;
 
  function createRequestObject(){
         var req = false;
 
         if(window.XMLHttpRequest){
                 req = new XMLHttpRequest();
 
                 if(req.overrideMimeType){
 req.overrideMimeType('text/xml'); }
         }
         else if(window.ActiveXObject){
                 try{ req = new ActiveXObject("Msxml2.XMLHTTP"); }
                 catch(e){
                         try{ req = new ActiveXObject("Microsoft.XMLHTTP");
 }
                         catch(e){}
                 }
         }
 
         if(!req){
                 return false;
         }
         else{ return req; }
 }
 
 It work for first request and stop after that. The view function never
 reach by an ajax call.
 
 Any comment?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4165#comment:11>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to