瀏覽代碼

Fix caption title for validation error

Kartik Visweswaran 11 年之前
父節點
當前提交
a1537cc847
共有 2 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 1 - 0
js/fileinput.js

@@ -460,6 +460,7 @@
             if (self.maxFileCount > 0 && total > self.maxFileCount) {
                 var msg = self.msgFilesTooMany.replace('{m}', self.maxFileCount).replace('{n}', total);
                 self.isError = self.showError(msg, null, null, null);
+                self.$caption.html(self.msgValidationError);
                 self.$container.removeClass('file-input-new');
                 return;
             }

File diff suppressed because it is too large
+ 0 - 0
js/fileinput.min.js


Some files were not shown because too many files changed in this diff