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

Images are doubled again.. #890

Closed
koxu1996 opened this issue Mar 5, 2017 · 8 comments
Closed

Images are doubled again.. #890

koxu1996 opened this issue Mar 5, 2017 · 8 comments
Labels

Comments

@koxu1996
Copy link
Contributor

koxu1996 commented Mar 5, 2017

Simple reproduce:

  1. Open fiddle
  2. Select one image or more
  3. Click main upload button
  4. You will see 2x more images than you selected
@kartik-v
Copy link
Owner

kartik-v commented Mar 5, 2017

Can you check with latest release v4.3.9 and submit a fiddle if its not working?

@koxu1996
Copy link
Contributor Author

koxu1996 commented Mar 5, 2017

Still not working: fiddle

@blacko2017
Copy link

Same problem here with 4.3.9

@blacko2017
Copy link

blacko2017 commented Mar 6, 2017

@kartik-v I don't know if this can help you but I fixed it using this on the input element:

$(this).closest('.file-input').find('.fileinput-upload').unbind('click').click(function(e){ e.preventDefault(); $(this).closest('.file-input').find('.file-preview .kv-file-upload').click(); });
Which simple clicks each upload button

@koxu1996
Copy link
Contributor Author

koxu1996 commented Mar 6, 2017

@blacko2017 this is temporary workaround and wont help
@kartik-v After these commits issue happen: ec1ebee 2fd40c4

@kartik-v
Copy link
Owner

kartik-v commented Mar 7, 2017

This is resolved now.... you may check and update.

@blacko2017
Copy link

blacko2017 commented Mar 7, 2017 via email

@blacko2017
Copy link

@kartik-v Now there is a new problem. If you click Multiple upload button on a non-multiple file, the removeInitial does not work.

  1. You have an image for initialPreview and you set removeInitial true;
  2. You select another image, the initialPreview disappears;
  3. You press Upload and the first initial preview appears again.

kartik-v added a commit that referenced this issue Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants