rel.append(progressBar);
var link = new CKEDITOR.dom.element('a');
link.setAttribute('href', '#');
+ link.setStyle('opacity', 0.2);
link.appendText(file.name);
container.append(link);
var size = this.progressBarMaxSize * progress;
size = Math.round(size);
this.progressBar.setStyle('width', String(size) + 'px');
+ var currentOpacity = this.uploadedItem.link.getStyle('opacity');
+ this.uploadedItem.link.setStyle('opacity', Math.max(currentOpacity, progress));
};
PlinnCKDDUploader.prototype.progressHandler = function(evt) {