modal missing close and cancel button

Bug #1273874 reported by Cindy Lu
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Dmitry Tantsur

Bug Description

Not sure if it's just me or what but some of the modal popup forms are missing the 'X' and 'Cancel' buttons.

This regression can been seen on Admin > Flavor > Edit Flavor and Project > Instances > Launch Instance. Modals with workflow tabs. Please see attached image.

Revision history for this message
Cindy Lu (clu-m) wrote :
Changed in horizon:
status: New → Confirmed
assignee: nobody → Victoria Martínez de la Cruz (vkmc)
tags: added: low-hanging-fruit
Revision history for this message
Victoria Martinez de la Cruz (vkmc) wrote :

This seems to happen in workflows only.

Revision history for this message
Cindy Lu (clu-m) wrote :

Hi Victoria,

Yes, that is what I noticed too. :)

Revision history for this message
Vahid Hashemian (vahidhashemian) wrote :

I compiled a list of places I've seen the Cancel button missing in another bug, which I'll mark as duplicate of this bug shortly.
Anyway, here's the list:

 Project -> Instances -> +Launch Instance / Edit Instance / Edit Security Group / Resize Instance
- Admin -> Instances -> Edit Instance
- Admin -> Flavors -> +Create Flavor / Edit Flavor / Modify Access
- Admin -> Defaults -> Update Defaults
- Admin -> Projects -> +Create Project / Modify Users / Edit Project / Modify Quota

It would be great if it can be added in these other places too :)

Revision history for this message
Cindy Lu (clu-m) wrote :

Thanks Vahid, that's great!

Revision history for this message
Victoria Martinez de la Cruz (vkmc) wrote :

Thanks Vahid and Cindy!

Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Medium
Changed in horizon:
assignee: Victoria Martínez de la Cruz (vkmc) → nobody
Changed in horizon:
assignee: nobody → Sphoorti (sphoorti-joglekar)
Revision history for this message
Dmitry Tantsur (divius) wrote :

Anyone working on this now? I already have a patch, sorry, didn't notice this bug is assigned

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/74654

Changed in horizon:
assignee: Sphoorti (sphoorti-joglekar) → Dmitry "Divius" Tantsur (divius)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/74654
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=07be8681561435202813ec5d76d2ed03968bf649
Submitter: Jenkins
Branch: master

commit 07be8681561435202813ec5d76d2ed03968bf649
Author: Dmitry Tantsur <email address hidden>
Date: Wed Feb 19 05:27:52 2014 -0500

    Always pass 'modal' context variable to workflow template

    Workflow templates rely on 'modal' context variable to be true for
    modal dialogs. Still, when rendering from WorkflowView,
    this variable is missing. This causes e.g. absent cancel and close
    buttons in flavor creating dialog (and also affects Tuskar UI).

    Change-Id: I76b1f0b97c14280db7cb880651e663147103438f
    Closes-Bug: #1273874

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.