From 72f3453876847356daaa1d3b3b202c7ca25cd362 Mon Sep 17 00:00:00 2001 From: Dave Bouvier Date: Fri, 12 Dec 2014 11:30:27 -0500 Subject: [PATCH] Back out 15716:77528372d36c, which breaks library creation success message. --- lib/galaxy/webapps/galaxy/controllers/library_admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy/webapps/galaxy/controllers/library_admin.py b/lib/galaxy/webapps/galaxy/controllers/library_admin.py index 87a9044fe02..bba28f5401f 100644 --- a/lib/galaxy/webapps/galaxy/controllers/library_admin.py +++ b/lib/galaxy/webapps/galaxy/controllers/library_admin.py @@ -162,12 +162,12 @@ class LibraryAdmin( BaseUIController ): library.root_folder = root_folder trans.sa_session.add_all( ( library, root_folder ) ) trans.sa_session.flush() - message = "The new library named '%s' has been created" + message = "The new library named '%s' has been created" % library.name return trans.response.send_redirect( web.url_for( controller='library_common', action='browse_library', cntrller='library_admin', id=trans.security.encode_id( library.id ), - message=escape( message ), + message=message, status='done' ) ) return trans.fill_template( '/admin/library/new_library.mako', message=escape( message ), status=escape( status ) ) @web.expose