Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bootstrap_file_field.js #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Eric90Lee
Copy link

support repeated calls bootstrapFileField()

support repeated calls bootstrapFileField()
});
// Check file type
if(fileTypes && fileTypes.indexOf(file.type) < 0) {
$(this).trigger('fileSelectionError', [file.name +' : 您选择的文件类型不支持!', fileList]);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please translate "您选择的文件类型不支持!" to English?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just put in to google and it says "The file type you selected is not supported!"

@ajaxray
Copy link
Owner

ajaxray commented Nov 28, 2017

Thank you very much for your PR! 😍
Would you please enrich the contribution by adding 2 small things?

  • Please see my comment line 145
  • Add an example of repeated calls in README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants