X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/blobdiff_plain/3bf115f6e39f2353889543fdeb06c1911a93d858..fcf65c49c21cf42f3628500e8713efe8e0dfb5c8:/skins/portfolio_upload.js diff --git a/skins/portfolio_upload.js b/skins/portfolio_upload.js index c4b7982..653e802 100644 --- a/skins/portfolio_upload.js +++ b/skins/portfolio_upload.js @@ -44,6 +44,12 @@ DDImageUploader.prototype.handleFiles = function(files) { } }; +DDImageUploader.prototype.beforeUpload = function(slide) { + this.uploadedSlide = slide; + this.previewImg = slide.img; + this.progressBar = slide.progressBar; +}; + // Methods about preview queue. DDImageUploader.prototype.previewQueuePush = function(slide) {