Author: eallen
Date: 2008-11-24 09:48:01 -0500 (Mon, 24 Nov 2008)
New Revision: 2869
Modified:
mgmt/trunk/cumin/python/cumin/job.py
Log:
Changing the way the job find href is generated so it will work from system frame as well
as grid frame.
Modified: mgmt/trunk/cumin/python/cumin/job.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/job.py 2008-11-24 14:36:21 UTC (rev 2868)
+++ mgmt/trunk/cumin/python/cumin/job.py 2008-11-24 14:48:01 UTC (rev 2869)
@@ -225,7 +225,7 @@
try:
first = rows[0]
job = Identifiable(first["id"])
- href = self.frame.job.get_href(session, job)
+ href = self.app.main_page.main.pool.job.get_href(session, job)
self.page.set_redirect_url(session, href)
except:
self.job_search.set_not_found(session, search_term)