From: Laurence Maultsby Date: Tue, 4 Apr 2017 17:23:06 +0000 (-0400) Subject: Increased timeout of crouton autodismiss. Added error messaging for failed catalog... X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F1495%2F1;p=osm%2FUI.git Increased timeout of crouton autodismiss. Added error messaging for failed catalog save Signed-off-by: Laurence Maultsby --- 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} />