yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43582
[Bug 1442288] Re: Setting 'auto_fade_alerts' is working only for simple request, not ajax
Reviewed: https://review.openstack.org/242700
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=08609e685118f0d3685528e27bb71682c9575429
Submitter: Jenkins
Branch: master
commit 08609e685118f0d3685528e27bb71682c9575429
Author: Steve McLellan <steven.j.mclellan@xxxxxxxxx>
Date: Fri Nov 6 18:56:06 2015 -0600
Set autodismissAlert on each alert
Alerts that are spawned from javascript aren't auto-dismissed because
horizon.autoDismissAlerts is only called once on page load (the network
topology JS calls it explictly to work around this). This patch sets the
autodismiss on each alert as it's created if applicable so that alerts
created by JS are also auto-dismissed, and calls the function on any
alerts created statically (i.e. in django code) at page load.
Change-Id: I7d42ba4fbc7565fb43fb0cc894154100e8fe0fe9
Closes-Bug: #1442288
** Changed in: horizon
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1442288
Title:
Setting 'auto_fade_alerts' is working only for simple request, not
ajax
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
There is 'auto_fade_alerts' in HORIZON_CONFIG, but it works only for
messages returned on simple request-response cycle and not for
messages returned on ajax requests.
It would make sense to allow configuration of request types for which
it does work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1442288/+subscriptions
References