Author: eallen
Date: 2008-11-24 09:15:50 -0500 (Mon, 24 Nov 2008)
New Revision: 2867
Modified:
mgmt/trunk/cumin/python/cumin/job.py
Log:
Changing the way the jobset hold/release/remove 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-21 20:47:57 UTC (rev 2866)
+++ mgmt/trunk/cumin/python/cumin/job.py 2008-11-24 14:15:50 UTC (rev 2867)
@@ -388,7 +388,7 @@
ids = self.parent.ids.get(session)
self.parent.ids.clear(session)
- href = self.frame.jobs_remove.get_href(session, ids)
+ href = self.app.main_page.main.pool.jobs_remove.get_href(session, ids)
self.page.set_redirect_url(session, href)
def render_content(self, session):
@@ -407,7 +407,7 @@
ids = self.parent.ids.get(session)
self.parent.ids.clear(session)
- href = self.frame.jobs_hold.get_href(session, ids)
+ href = self.app.main_page.main.pool.jobs_hold.get_href(session, ids)
self.page.set_redirect_url(session, href)
def render_content(self, session):
@@ -426,7 +426,7 @@
ids = self.parent.ids.get(session)
self.parent.ids.clear(session)
- href = self.frame.jobs_release.get_href(session, ids)
+ href = self.app.main_page.main.pool.jobs_release.get_href(session, ids)
self.page.set_redirect_url(session, href)
def render_content(self, session):
Show replies by date