You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by "Sean Cooper (Created) (JIRA)" <ji...@apache.org> on 2011/11/15 19:51:52 UTC

[jira] [Created] (RAVE-359) WidgetRating UI: Initial load of page allows a double click for rating

WidgetRating UI: Initial load of page allows a double click for rating
----------------------------------------------------------------------

                 Key: RAVE-359
                 URL: https://issues.apache.org/jira/browse/RAVE-359
             Project: Rave
          Issue Type: Bug
          Components: rave-portal
    Affects Versions: 0.5-INCUBATING
            Reporter: Sean Cooper
            Priority: Trivial


After the initial load of the page you can click on the + or - button to change the rating twice.  This results in a +2 or -2 effect.  This only happens after the initial load of the page, clicking on + and then - no longer allows the double rating change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (RAVE-359) WidgetRating UI: Initial load of page allows a double click for rating

Posted by "Ankur Goyal (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankur Goyal updated RAVE-359:
-----------------------------

    Attachment: Rave-359.patch

Made the following changes in rave_store.js:-
-> Changed the "change" function to "click" function
-> Added one if condition to each click function.
                
> WidgetRating UI: Initial load of page allows a double click for rating
> ----------------------------------------------------------------------
>
>                 Key: RAVE-359
>                 URL: https://issues.apache.org/jira/browse/RAVE-359
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.5-INCUBATING
>            Reporter: Sean Cooper
>            Priority: Trivial
>         Attachments: Rave-359.patch
>
>
> After the initial load of the page you can click on the + or - button to change the rating twice.  This results in a +2 or -2 effect.  This only happens after the initial load of the page, clicking on + and then - no longer allows the double rating change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (RAVE-359) WidgetRating UI: Initial load of page allows a double click for rating

Posted by "Ankur Goyal (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankur Goyal updated RAVE-359:
-----------------------------

    Attachment:     (was: Rave-359.patch)
    
> WidgetRating UI: Initial load of page allows a double click for rating
> ----------------------------------------------------------------------
>
>                 Key: RAVE-359
>                 URL: https://issues.apache.org/jira/browse/RAVE-359
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.5-INCUBATING
>            Reporter: Sean Cooper
>            Priority: Trivial
>         Attachments: Rave-359.patch
>
>
> After the initial load of the page you can click on the + or - button to change the rating twice.  This results in a +2 or -2 effect.  This only happens after the initial load of the page, clicking on + and then - no longer allows the double rating change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (RAVE-359) WidgetRating UI: Initial load of page allows a double click for rating

Posted by "Ankur Goyal (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAVE-359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankur Goyal updated RAVE-359:
-----------------------------

    Attachment: Rave-359.patch

Files modified:
store.jsp
rave_store.js
                
> WidgetRating UI: Initial load of page allows a double click for rating
> ----------------------------------------------------------------------
>
>                 Key: RAVE-359
>                 URL: https://issues.apache.org/jira/browse/RAVE-359
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.5-INCUBATING
>            Reporter: Sean Cooper
>            Priority: Trivial
>         Attachments: Rave-359.patch
>
>
> After the initial load of the page you can click on the + or - button to change the rating twice.  This results in a +2 or -2 effect.  This only happens after the initial load of the page, clicking on + and then - no longer allows the double rating change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (RAVE-359) WidgetRating UI: Initial load of page allows a double click for rating

Posted by "Sean Cooper (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAVE-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13150696#comment-13150696 ] 

Sean Cooper commented on RAVE-359:
----------------------------------

The change event is being fired twice.  Once when going from no setting to a + or -, and then again when the user clicks on + or -.

+ - Results in 1, 0
+ - - Results in 1, 0

- + Results in 0, 1
- + + Results in 0, 1

When the state of the radio object is not initially set the initial .change event isn't working properly.  The .change event cycle doesn't start working until you have performed a double action on the initial button press.
                
> WidgetRating UI: Initial load of page allows a double click for rating
> ----------------------------------------------------------------------
>
>                 Key: RAVE-359
>                 URL: https://issues.apache.org/jira/browse/RAVE-359
>             Project: Rave
>          Issue Type: Bug
>          Components: rave-portal
>    Affects Versions: 0.5-INCUBATING
>            Reporter: Sean Cooper
>            Priority: Trivial
>
> After the initial load of the page you can click on the + or - button to change the rating twice.  This results in a +2 or -2 effect.  This only happens after the initial load of the page, clicking on + and then - no longer allows the double rating change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira