From d0cd1e506da35290084fe35cf09cfd907ec45d77 Mon Sep 17 00:00:00 2001 From: Daniel Blankenberg Date: Thu, 3 Jan 2008 19:16:25 +0000 Subject: [PATCH] Better handling of creation of a new history. When a user was logged in and created a new history, the center pane was being filled with the new empty history, and the actual history pane was not being refreshed. This is fixed. --- lib/galaxy/web/controllers/root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/web/controllers/root.py b/lib/galaxy/web/controllers/root.py index 502eaf03284..eea407703c1 100644 --- a/lib/galaxy/web/controllers/root.py +++ b/lib/galaxy/web/controllers/root.py @@ -474,7 +474,7 @@ class Universe( BaseController ): def history_new( self, trans ): trans.new_history() trans.log_event( "Created new History, id: %s." % str(trans.get_history().id) ) - return self.history( trans ) + return trans.show_message( "New history created", refresh_frames = ['history'] ) @web.expose def history_store( self, trans, name=None ):