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

Bower file and callback fix #8

Merged
merged 3 commits into from Aug 6, 2014
Merged

Conversation

ksmadsen
Copy link

@ksmadsen ksmadsen commented Aug 6, 2014

Hi,

We've recently discovered an issue when using the callback function on the "cancel" element, where it was impossible to determine which rating had changed.

This pull request fixes this issue, and also includes a bower.json file, which we use in our setup. The last patch in this pull request is a simple indentation fix.

Anders Nielsen and others added 3 commits May 15, 2014 17:03
When cancel is selected, there is no corresponding input element, which means
that this is set to null in the callback function.

The "link" parameter to the callback function is set to the first 'a' child of
null, which translates to the first link on the page.

Fix the link parameter, by setting a rater-cancel-# (where # is the rater
serial number) class on the cancel element, so that we can identify the element
later in the select function.
fyneworks added a commit that referenced this pull request Aug 6, 2014
Bower file and callback fix (thanks @ksmadsen)
@fyneworks fyneworks merged commit d881d75 into fyneworks:master Aug 6, 2014
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.

None yet

2 participants