Re: Sample code for progress bar using patch 2070?

2006-10-03 Thread jacobm
I'm getting desperate and I don't have as much free time to spend on this as I'd like. Is anyone willing to share a sample upload app using the ajax component in exchange for a paypal donation? --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Sample code for progress bar using patch 2070?

2006-09-22 Thread jacobm
[EMAIL PROTECTED] wrote: > I adapted UploadProgress.js to be used in the admin, so it latches on > to the first form in the page if the js is loaded. > > To use uploadprogress load: > > django.middleware.upload.UploadStateMiddleware and > django.middleware.upload.StreamingUploadMiddleware in this

Re: Sample code for progress bar using patch 2070?

2006-09-22 Thread [EMAIL PROTECTED]
I adapted UploadProgress.js to be used in the admin, so it latches on to the first form in the page if the js is loaded. To use uploadprogress load: django.middleware.upload.UploadStateMiddleware and django.middleware.upload.StreamingUploadMiddleware in this order. Then put this in your models

Sample code for progress bar using patch 2070?

2006-09-21 Thread jacobm
Would anyone be willing to share the important bits of code required to use the progress bar included in UploadProgress.js from the 2070 patch? I've never done anything with ajax before and am a little lost on how this is supposed to work. Thanks! Jacob --~--~-~--~~~--