[rhmessaging-commits] rhmessaging commits: r3696 - mgmt/trunk/cumin/python/cumin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Wed Nov 4 13:16:16 EST 2009
Author: eallen
Date: 2009-11-04 13:16:16 -0500 (Wed, 04 Nov 2009)
New Revision: 3696
Modified:
mgmt/trunk/cumin/python/cumin/widgets.py
Log:
Avoid exception when main page tabs are clicked after drilling down to a sub-page
Modified: mgmt/trunk/cumin/python/cumin/widgets.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/widgets.py 2009-11-04 17:00:24 UTC (rev 3695)
+++ mgmt/trunk/cumin/python/cumin/widgets.py 2009-11-04 18:16:16 UTC (rev 3696)
@@ -72,6 +72,12 @@
return lsess.marshal()
+ def render_tab_href(self, session, tab):
+ branch = session.branch()
+ tab.mode.set(branch, None)
+ tab.show(branch)
+ return branch.marshal()
+
class CuminPageLinks(ItemSet):
def __init__(self, app, name):
super(CuminPageLinks, self).__init__(app, name)
More information about the rhmessaging-commits
mailing list