V 3.5 RC 1

This commit is contained in:
Romain Neutron
2011-12-05 00:23:28 +01:00
parent 6f1ee368aa
commit 4c5b7eb658
5563 changed files with 466984 additions and 985416 deletions

View File

@@ -12,7 +12,7 @@ function FileProgress(file, targetID) {
this.fileProgressStatus = $('#'+this.fileProgressID+' div.progressBarStatus');
this.fileProgressBar = $('#'+this.fileProgressID+' div.progressBarInProgress');
if (this.fileProgressWrapper.length == 0) {
if (this.fileProgressWrapper.length === 0) {
var elem = '<li class="progressWrapper" id="'+this.fileProgressID+'">'+
'<div class="progressContainer">'+
@@ -59,6 +59,12 @@ FileProgress.prototype.setComplete = function () {
this.fileProgressContainer.addClass('green');
this.fileProgressBar.addClass('complete').css('width','auto');
};
FileProgress.prototype.setQuarantine = function () {
this.fileProgressWrapper.addClass('done');
this.fileProgressContainer.addClass('orange');
this.fileProgressContainer.addClass('quarantine');
this.fileProgressBar.addClass('complete').css('width','auto');
};
FileProgress.prototype.setError = function () {
this.fileProgressWrapper.addClass('done');
this.fileProgressContainer.removeClass('green blue').addClass('red');