You might try creating a third radio button for the 'unset' state and have it 
be a hidden element on the page.  That way you can correctly set the state of 
the radio button to 'positive', 'negative' , and 'unset'

-Sean

>-----Original Message-----
>From: Ankur Goyal [mailto:[email protected]]
>Sent: Tuesday, November 29, 2011 4:18 PM
>To: Sean Cooper
>Cc: Marlon Pierce; Ankur Goyal; rave
>Subject: Re: Review Request: Rave-359 (WidgetRating UI: Initial load of page
>allows a double click for rating)
>
>Hi Sean,
>
>I was looking into the problem you mentioned.
>
>There is some property called as "aria-pressed" which is always set as
>"true" for like button and "false" for dislike button after every load of
>widget store page.
>
>I am unable to find where this effect is brought from so thought to ask you
>about this. :)
>
>Waiting for your reply,
>
>Regards,
>Ankur Goyal
>
>On Mon, Nov 28, 2011 at 2:14 PM, Sean Cooper <[email protected]>
>wrote:
>
>>    This is an automatically generated e-mail. To reply, visit:
>> https://reviews.apache.org/r/2917/
>>
>> This patch is forcing the button state to highlight the 'negative' option 
>> when
>using chrome or firefox regardless of whether or not the user has already
>selected one of the options (e.g. If the user has selected the 'positive' 
>option
>the 'negative' option is showing up as being selected)
>>
>>
>> - Sean
>>
>> On November 22nd, 2011, 10:05 p.m., Ankur Goyal wrote:
>>   Review request for rave and Marlon Pierce.
>> By Ankur Goyal.
>>
>> *Updated 2011-11-22 22:05:24*
>> Description
>>
>> WidgetRating UI: Initial load of page allows a double click for rating
>> Files modified:
>> rave_store.js
>> store.jsp
>>
>>   Diffs
>>
>>    - trunk/rave-portal-resources/src/main/webapp/WEB-
>INF/jsp/views/store.jsp
>>    (1205187)
>>    - trunk/rave-portal-resources/src/main/webapp/script/rave_store.js
>>    (1205187)
>>
>> View Diff <https://reviews.apache.org/r/2917/diff/>
>>

Reply via email to