yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29003
[Bug 1427756] [NEW] Event listeners are not being attached to some modal windows
Public bug reported:
In some modal windows, form event listeners are not being attached correctly. For example the date picker that should be triggered on a focus event in the text box in [dashboard/admin/metering -> Modify Usage Report Parameters -> Other] is not. This might be a problem with the modal loading or a django issue.
This issue is not present if the form is not in a modal window (like it was in juno release), the event listeners are attached regularly and work as expected if the form is in a page of its own.
See attached files for reference.
Steps to reproduce:
1) Open the dashboard and go to admin/metering
2) Press the 'Modify Usage Report Parameters' button.
3) When the modal window appear select 'Other' from the spinner.
4) Click the 'from' or 'to' text inputs, a datepicker should pop out from there but it does not.
5) If you repeat these steps in juno, the datepicker will appear since the admin/metering/create url is in a page of its own.
** Affects: horizon
Importance: Undecided
Status: New
** Tags: attaching django event listener modal window
** Attachment added: "Non modal - modal"
https://bugs.launchpad.net/bugs/1427756/+attachment/4333524/+files/modalnonmodal.png
--
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/1427756
Title:
Event listeners are not being attached to some modal windows
Status in OpenStack Dashboard (Horizon):
New
Bug description:
In some modal windows, form event listeners are not being attached correctly. For example the date picker that should be triggered on a focus event in the text box in [dashboard/admin/metering -> Modify Usage Report Parameters -> Other] is not. This might be a problem with the modal loading or a django issue.
This issue is not present if the form is not in a modal window (like it was in juno release), the event listeners are attached regularly and work as expected if the form is in a page of its own.
See attached files for reference.
Steps to reproduce:
1) Open the dashboard and go to admin/metering
2) Press the 'Modify Usage Report Parameters' button.
3) When the modal window appear select 'Other' from the spinner.
4) Click the 'from' or 'to' text inputs, a datepicker should pop out from there but it does not.
5) If you repeat these steps in juno, the datepicker will appear since the admin/metering/create url is in a page of its own.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1427756/+subscriptions
Follow ups
References