2010/4/11 Michael Keck
<sfnet(a)michaelkeck.de>de>:
Am 11.04.2010 14:53, schrieb Philip Frank:
I don't quite get it... Is the "upload
progress bar" the same as the
"import progress bar"?
I'm willing to spend some time on porting mootools code to jQuery
today, but wouldn't want get in the way of what Michael is working on.
So, what exactly do these progress bars show?
Philip,
my explained progressbar was an idea for uploading.
I've not done anything for the import progressbar.
If you want porting mootools code to jQuery please still go on.
One tip I've for you with jQuery UI Progressbar:
Update the progressbar with
$('#your_element').progessbar("value", your_value + "%");
would make problems, cause this call would take to much time.
Please use this:
$('#your_element .ui-progress-bar-vakue').css({ 'width' : your_value
+ '%' });
This sets the new width of the progressbar directly and is faster.
Michael
I dug through the related code, display_import.lib.php,
import_status.php and import.php.
I'm not sure if I overlooked it, but there is no tracking of progress
while running an import. I couldn't get the ajax import to work on the
current master, it just silently falls back to an ordinary post.
Philip,
I think it's broken in the current master. If you checkout the QA_3_3
branch you'll see it work.
Breakage might be because of the ongoing conversion to jQuery.
And it's supposed to be a progress bar just for the uploading part of
the import.