Explorar o código

Wrong order in argument to "_renderFileActions"

Changed order on attributes.
Johan Rönn %!s(int64=9) %!d(string=hai) anos
pai
achega
a5b4d35c3c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/fileinput.js

+ 1 - 1
js/fileinput.js

@@ -2646,7 +2646,7 @@
                 title = isError ? config.indicatorErrorTitle : config.indicatorNewTitle;
             size = self._getSize(size);
             if (self.isUploadable) {
-                out = template.replace(/\{actions}/g, self._renderFileActions(rem, upl, zoom, drg, false, false, false))
+                out = template.replace(/\{actions}/g, self._renderFileActions(upl, rem, zoom, drg, false, false, false))
                     .replace(/\{caption}/g, caption).replace(/\{size}/g, size).replace(/\{width}/g, width)
                     .replace(/\{progress}/g, self._renderThumbProgress()).replace(/\{indicator}/g, indicator)
                     .replace(/\{indicatorTitle}/g, title);