[ 
https://issues.apache.org/jira/browse/COUCHDB-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Kowalski updated COUCHDB-2300:
-------------------------------------

    Description: 
If you are on the all-docs-list and you refresh it, it will render views that 
are inserted in beforeRender, twice.

This happens as beforeRender is called twice.

This seems to be a timing issue of the async rendering and template-changing we 
are doing in the routeObject.js and layout.js

  was:
If you are on the all-docs-list and you refresh it, it will render views that 
are inserted in afterRender, twice.

This happens as afterRender is called twice.

This seems to be a timing issue of the async rendering and template-changing we 
are doing in the routeObject.js and layout.js


> afterRender called twice: resulting in double items on refresh
> --------------------------------------------------------------
>
>                 Key: COUCHDB-2300
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2300
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Robert Kowalski
>            Assignee: Robert Kowalski
>
> If you are on the all-docs-list and you refresh it, it will render views that 
> are inserted in beforeRender, twice.
> This happens as beforeRender is called twice.
> This seems to be a timing issue of the async rendering and template-changing 
> we are doing in the routeObject.js and layout.js



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to