Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D079200BBD for ; Tue, 8 Nov 2016 09:26:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7B864160B0A; Tue, 8 Nov 2016 08:26:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C4E57160AFA for ; Tue, 8 Nov 2016 09:26:52 +0100 (CET) Received: (qmail 84569 invoked by uid 500); 8 Nov 2016 08:26:51 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 84555 invoked by uid 99); 8 Nov 2016 08:26:51 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2016 08:26:51 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 52EA2E0A59; Tue, 8 Nov 2016 08:26:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: garren@apache.org To: commits@couchdb.apache.org Message-Id: <9d2724d1d5934cf9b24724a18b43b254@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: fauxton commit: updated refs/heads/master to 2a8e991 Date: Tue, 8 Nov 2016 08:26:51 +0000 (UTC) archived-at: Tue, 08 Nov 2016 08:26:53 -0000 Repository: couchdb-fauxton Updated Branches: refs/heads/master a9a10999f -> 2a8e991f8 put updateAPIBar in setTimeout Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/2a8e991f Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/2a8e991f Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/2a8e991f Branch: refs/heads/master Commit: 2a8e991f8f3dccbe3498a705f524465bfee5f5d8 Parents: a9a1099 Author: Garren Smith Authored: Tue Nov 8 10:26:41 2016 +0200 Committer: Garren Smith Committed: Tue Nov 8 10:26:41 2016 +0200 ---------------------------------------------------------------------- app/addons/components/layouts.js | 40 ++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/2a8e991f/app/addons/components/layouts.js ---------------------------------------------------------------------- diff --git a/app/addons/components/layouts.js b/app/addons/components/layouts.js index df4b85e..3bc9c23 100644 --- a/app/addons/components/layouts.js +++ b/app/addons/components/layouts.js @@ -1,32 +1,34 @@ -// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// Licensed under the Apache License, Version 2.0 (the 'License'); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the // License for the specific language governing permissions and limitations under // the License. import React from 'react'; import ReactDOM from 'react-dom'; -import {NotificationCenterButton} from "../fauxton/notifications/notifications.react"; +import {NotificationCenterButton} from '../fauxton/notifications/notifications.react'; import {ApiBarController} from './components/apibar'; import {Breadcrumbs} from './header-breadcrumbs'; -import ComponentActions from "./actions"; +import ComponentActions from './actions'; const ApiBarWrapper = ({docURL, endpoint}) => { //TODO once all modules are using this remove actions and make them props - ComponentActions.updateAPIBar({ - buttonVisible: true, - contentVisible: false, - endpoint, - docURL + setTimeout(() => { + ComponentActions.updateAPIBar({ + buttonVisible: true, + contentVisible: false, + endpoint, + docURL + }); }); return ( -
+
{ export const OnePane = ({children}) => { return ( -
+
{children}
); @@ -46,15 +48,15 @@ export const OnePane = ({children}) => { export const OnePaneHeader = ({showApiUrl, docURL, endpoint, crumbs, children}) => { return (
-
-