couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2392) afterRender is called twice
Date Fri, 12 Dec 2014 17:16:13 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244466#comment-14244466
] 

ASF GitHub Bot commented on COUCHDB-2392:
-----------------------------------------

Github user benkeen commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/192#discussion_r21758367
  
    --- Diff: app/addons/documents/views-index.js ---
    @@ -454,7 +444,11 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb,
QueryOption
         },
     
         afterRender: function() {
    -      if (this.params && !this.newView && hasRenderedOnce) {
    +
    --- End diff --
    
    Oof, it's been a while so I've kind of forgotten. But I documented the problem here (see
the final comment): https://issues.apache.org/jira/browse/COUCHDB-2392?filter=-1


> afterRender is called twice
> ---------------------------
>
>                 Key: COUCHDB-2392
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2392
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Robert Kowalski
>            Assignee: Ben Keen
>
> afterRender is called twice - I thought Garren fixed it some time ago, but it seems to
happen again.
> see: https://github.com/apache/couchdb-fauxton/commit/332c7b5350a928e35006e821f1f8bf9b6b748c12#diff-4a170929e0ed75614fc691eaa2dac8b9R37



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message