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.

This commit is contained in:
Daniel Blankenberg
2008-01-03 19:16:25 +00:00
parent 05df900b3d
commit d0cd1e506d
+1 -1
View File
@@ -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 ):