Displaying 2 results from an estimated 2 matches for "statushtml".
2006 Sep 04
3
Mongrel Upload Progress 0.2 -- With Instructions and Examples
Hi Folks,
I''m sure tons of people are gonna ruin a whole drawer of their best
panties over this one.
Rick Olson worked on the mongrel_upload_progress gem, documentation and
examples and has almost everything you need to do progress tracked file
uploads using just Mongrel to handle the upload. This means that Rails
(or any other framework) isn''t blocked while the upload
2006 Sep 17
1
Question about mongrel_upload_progress
...And indeed when I
added alert() to the processing code, I never saw anything happen:
update: function(total, current) {
alert("We actually are updating! Total " + total + " / " + current);
if(!this.uploading) return;
var status = current / total;
var statusHTML = status.toPercentage();
$(''results'').innerHTML = statusHTML + "<br /><small>" +
current.toHumanSize() + '' of '' + total.toHumanSize() + " uploaded.</
small>";
this.StatusBar.update(status, statusHTML);
},
I...