This project is read-only.
1

Resolved

RateIt Stars disappear when clicking into another form field and pressing return

description

This began after updating to 1.0.9

I have a form with 5 RateIt Fields and always from the first one the yellow stars turn grey the moment I click into any textfield in the form and then press return. The Form is not submitted as it was with 1.0.9

I tried adding
<div class="rateit"> </div> as the first rating div, now this one turned grey.

In firebug i saw aria-valuenow="5" to turn to "0" the moment I pressed return.

comments

gidon wrote May 26, 2014 at 2:09 PM

That sounds strange. Could you give me a link to the form you're talking about. Or recreate the issue with a JSFiddle?

hyperspacebeast wrote May 27, 2014 at 7:42 AM

http://jsfiddle.net/V2Pyh/1/

or:
<form>
<input />
<div class="rateit">
</div>
<div class="rateit">
</div>
</form>
  1. pick stars in first div
  2. pick stars in sec div
  3. click into text field
  4. press return
=>selected stars in first div turn grey

gidon wrote May 27, 2014 at 1:34 PM

Fixed in changeset 8abdefc0cd61158a8ca173985cbb77830e11d805

gidon wrote May 27, 2014 at 1:43 PM

Thanks for the jsFiddle, that helped a lot.
The bug has been fixed.

hyperspacebeast wrote May 28, 2014 at 9:12 AM

working fine, thanks a lot :)