Force right panel reload if a dataset was visible, tracked for updates, and hidden behind the scenes.

This commit is contained in:
Dannon Baker
2010-08-10 12:22:49 -04:00
parent b951bdd727
commit db702de464
+2
View File
@@ -150,6 +150,8 @@ class RootController( BaseController, UsesHistory, UsesAnnotations ):
tool = trans.app.toolbox.tools_by_id.get( job_hda.creating_job_associations[ 0 ].job.tool_id, None )
if tool:
force_history_refresh = tool.force_history_refresh
if not job_hda.visible:
force_history_refresh = True
rval[id] = {
"state": data.state,
"html": unicode( trans.fill_template( "root/history_item.mako", data=data, hid=data.hid ), 'utf-8' ),