Browse Source

Fixed typo

Fixed typo where "files" should be "tfiles". Caused "TypeError: files is undefined" error
Arthur Carlsson 10 năm trước cách đây
mục cha
commit
f35ca75e9c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      js/fileinput.js

+ 2 - 2
js/fileinput.js

@@ -1536,7 +1536,7 @@
                 return;
                 return;
             }
             }
             if (!self.isIE9) {
             if (!self.isIE9) {
-                self.readFiles(files);
+                self.readFiles(tfiles);
             } else {
             } else {
                 self.updateFileDetails(1);
                 self.updateFileDetails(1);
             }
             }
@@ -1774,4 +1774,4 @@
             $input.fileinput();
             $input.fileinput();
         }
         }
     });
     });
-})(window.jQuery);
+})(window.jQuery);