[hg] galaxy 2932: Page create fix
details: http://www.bx.psu.edu/hg/galaxy/rev/5d80e32d989b changeset: 2932:5d80e32d989b user: James Taylor <james@jamestaylor.org> date: Thu Oct 29 13:34:44 2009 -0400 description: Page create fix diffstat: lib/galaxy/web/controllers/page.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines): diff -r 86cc0b2b9e09 -r 5d80e32d989b lib/galaxy/web/controllers/page.py --- a/lib/galaxy/web/controllers/page.py Thu Oct 29 10:06:11 2009 -0400 +++ b/lib/galaxy/web/controllers/page.py Thu Oct 29 13:34:44 2009 -0400 @@ -138,8 +138,8 @@ session.save_or_update( page ) session.flush() # Display the management page - trans.set_message( "Page '%s' created" % page.title ) - return self.list( trans ) + ## trans.set_message( "Page '%s' created" % page.title ) + return trans.response.send_redirect( web.url_for( action='index' ) ) return trans.show_form( web.FormBuilder( web.url_for(), "Create new page", submit_text="Submit" ) .add_text( "page_title", "Page title", value=page_title, error=page_title_err )
participants (1)
-
Greg Von Kuster