diff --git a/fotostore.pl b/fotostore.pl
index 09cd723..77df8b2 100644
--- a/fotostore.pl
+++ b/fotostore.pl
@@ -270,6 +270,12 @@ __DATA__
+
Rough, Slow, Stupid, Contrary Photohosting
@@ -289,10 +295,21 @@ __DATA__
$.each(data.result.files, function (index, file) {
$('').text(file.name).appendTo('#lastUploadLog');
});
+ },
+ sequentialUploads: true,
+ progressall: function (e, data) {
+ var progress = parseInt(data.loaded / data.total * 100, 10);
+ $('#progress .bar').css(
+ 'width',
+ progress + '%'
+ );
}
});
});
+