Checkboxes with images #210

Merged
merged 2 commits into from Jan 1, 2013

Conversation

Projects
None yet
2 participants
@guigs

guigs commented Dec 31, 2012

This should fix #178 that was affected by #192.
Also, I found out that comparing html value is not reliable, even ignoring the case (as f0d4fca).

For example, in Chrome the original html is:

<img alt="No" src="/assets/no.png" />

But what is returned by this.element.html() is

<img alt="No" src="/assets/no.png">

So, I changed the way checkboxes handle their value. Now it works like selects, using collectionValue.

rogercampos added a commit that referenced this pull request Jan 1, 2013

@rogercampos rogercampos merged commit 0665b5f into bernat:master Jan 1, 2013

@guigs guigs deleted the guigs:checkbox-with-image branch Jan 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment