Greg Sheremeta has submitted this change and it was merged. Change subject: webadmin : Fix Menu Cell click event ......................................................................
webadmin : Fix Menu Cell click event A cell registers to events that it wants to listen with its table. The table notifies the cell by invoking onBrowserEvent when a registered event occurs. In case of ActivityColumn of Volumes main tab, it is a column of a CompositeCell - VolumeActivityCompositeCell which is in-turn a combination of : 1.VolumeActivityStatusColumn - Column of AbstractCell VolumeActivityStatusCell 2.Column of AbstractCell - VolumeActivitySeperatorCell 3.Column of AbstractCell - MenuCell - for rebalance 4.Column of AbstractCell - MenuCell - for remove-brick So, this being the situation, the Composite of the Composites which is the VolumeActivityCompositeCell receieves the events to which it subscribes from the table and then only constituent cells can get them but in our case, the VolumeActivityCompositeCell was not subscribing for the click event and hence the constituent MenuCell was not notified of the click. Hence this patch modifies VolumeActivityCompositeCell to subscribe to a superset of all events that its constituent cells need. Change-Id: I32a223494d23848c530ee083dc14e1d072a86967 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1209422 Signed-off-by: Anmol Babu <anb...@redhat.com> --- M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/table/cell/VolumeActivityCompositeCell.java 1 file changed, 23 insertions(+), 0 deletions(-) Approvals: anmolbabu: Verified Greg Sheremeta: Looks good to me, approved -- To view, visit https://gerrit.ovirt.org/41528 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I32a223494d23848c530ee083dc14e1d072a86967 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: anmolbabu <anb...@redhat.com> Gerrit-Reviewer: Greg Sheremeta <gsher...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Ramesh N <rnach...@redhat.com> Gerrit-Reviewer: anmolbabu <anb...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches