+ commentaire.
authorBenoît Pin <pin@cri.ensmp.fr>
Mon, 31 Mar 2014 13:16:24 +0000 (15:16 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Mon, 31 Mar 2014 13:16:24 +0000 (15:16 +0200)
+ http cache.

skins/portfolio_upload.js
skins/portfolio_upload.js.metadata [new file with mode: 0644]

index e675651..b4328b5 100644 (file)
@@ -11,8 +11,8 @@ DDImageUploader = function(dropbox, uploadUrl, options) {
        DDFileUploaderBase.apply(this, [dropbox, uploadUrl]);
 
        this.existingSlides = this.indexExistingSlides();
-       this.slideSize = options.slideSize || 222;
-       this.progressBarMaxSize = this.slideSize - 22 || 200; // pixels
+       this.slideSize = options.slideSize || 222; // pixels
+       this.progressBarMaxSize = this.slideSize - 22 || 200; 
        this.thumbnailSize = options.thumbnailSize || 180;
        this.previewQueue = [];
        this._previewQueueRunning = false;
diff --git a/skins/portfolio_upload.js.metadata b/skins/portfolio_upload.js.metadata
new file mode 100644 (file)
index 0000000..855fecc
--- /dev/null
@@ -0,0 +1,2 @@
+[default]
+cache=HTTPCache