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

    https://github.com/apache/couchdb-fauxton/pull/33#discussion_r16406423
  
    --- Diff: app/addons/databases/views.js ---
    @@ -21,6 +21,39 @@ define([
     function(app, Components, FauxtonAPI, Databases) {
       var Views = {};
     
    +  //Header for alldocs with search, Query options,& api bar
    +  Views.RightAllDBsHeader = FauxtonAPI.View.extend({
    +    className: "header-right",
    +    template: "addons/databases/templates/header_alldbs",
    +    initialize: function(options){
    +      //adding the database to the object
    +      _.bindAll(this);
    +      this.endpoint = options.endpoint;
    +    },
    +
    +    updateApiUrl: function(api){
    +      //this will update the api bar when the route changes
    +      //you can find the method that updates it in components.js 
Components.ApiBar()
    +      this.apiBar && this.apiBar.update(api);
    --- End diff --
    
    `apiBar` doesn't seem to get assigned in the `initialize` function.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to