rvera / image-picker

Image Picker is a simple jQuery plugin that transforms a select element into a more user friendly graphical interface.
http://rvera.github.com/image-picker
Other
906 stars 216 forks source link

In Explorer is not working deselect. #14

Closed FrancescoMussi closed 10 years ago

FrancescoMussi commented 10 years ago

In Google, Firefox, Opera, all is working fine. In Explorer after i select an image, is not possible to deselect it. You can see it, opening this page on Explorer: http://rvera.github.io/image-picker/ It is possible to deselect only the first group, with the title INCLUDE BLANKS, all the other groups is not possible to deselect. Can you tell me please why in the first group the deselect is working? There should be some code there that enable deselect in Explorer. (i thought was enough to add a blank field but still is not working) Thanks!

rvera commented 10 years ago

Hi, it's probably IE not firing a specific event. Can you be more specific about which version of IE and OS are you on.

FrancescoMussi commented 10 years ago

Ok. IE: version 8. OS: Windows 7.

madmax124 commented 10 years ago

I second that !

rvera commented 10 years ago

Let me see if I can a get a windows computer and try it this weekends. I don't have any available so it's hard for me to test.

madmax124 commented 10 years ago

In IE 8, the following line gets an error when un-selecting an already selected element..

new_values.splice(old_values.indexOf(imagepicker_option.value()), 1);

rvera commented 10 years ago

This seems to be fixed.