ManageIQ/manageiq — pull request #871 by h-kataria (2014-10-16 18:19:19+00:00)
Title: Fixed to reload toolbar using active node in the tree

Fixed to use x_node to reload toolbars when tab is changed on the class node, @temp variable does not exist when change_tab transaction comes in. This was causing automate to load incorrect toolbar buttons when change tab transaction came in.

https://bugzilla.redhat.com/show_bug.cgi?id=1149791
https://bugzilla.redhat.com/show_bug.cgi?id=1153780

@dclarizio please review/test.
You can recreate this issue by changing tabs on a class that is in a Locked domain.