From da3586324894895ecce8af32be72c7993e2411c3 Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Tue, 4 Apr 2017 13:23:06 -0400 Subject: [PATCH] Increased timeout of crouton autodismiss. Added error messaging for failed catalog save Signed-off-by: Laurence Maultsby --- skyquake/framework/widgets/header/header.jsx | 3 ++- .../widgets/skyquake_container/skyquakeContainer.jsx | 1 + .../plugins/composer/src/src/stores/CatalogDataStore.js | 9 ++++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/skyquake/framework/widgets/header/header.jsx b/skyquake/framework/widgets/header/header.jsx index 21f4c10b7..3cfaaf6e2 100644 --- a/skyquake/framework/widgets/header/header.jsx +++ b/skyquake/framework/widgets/header/header.jsx @@ -1,5 +1,5 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -55,6 +55,7 @@ export default class AppHeader extends React.Component { type={"error"} hidden={!(this.state.validateErrorEvent && this.state.validateErrorMsg)} onDismiss={HeaderStore.validateReset} + timeout= {5000} /> // html = ( diff --git a/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx b/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx index d53d85f20..d83c83647 100644 --- a/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx +++ b/skyquake/framework/widgets/skyquake_container/skyquakeContainer.jsx @@ -106,6 +106,7 @@ export default class skyquakeContainer extends React.Component { type={notificationType} hidden={!(displayNotification && notificationMessage)} onDismiss={SkyquakeContainerActions.hideNotification} + timeout= {5000} />