details: http://www.bx.psu.edu/hg/galaxy/rev/11951fe9c714 changeset: 3789:11951fe9c714 user: jeremy goecks <jeremy.goecks@emory.edu> date: Sat May 15 13:12:38 2010 -0400 description: Better UI flow for changing an HDA's data type. diffstat: lib/galaxy/web/controllers/root.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (11 lines): diff -r 00a558d5ad25 -r 11951fe9c714 lib/galaxy/web/controllers/root.py --- a/lib/galaxy/web/controllers/root.py Sat May 15 11:25:05 2010 -0400 +++ b/lib/galaxy/web/controllers/root.py Sat May 15 13:12:38 2010 -0400 @@ -276,6 +276,7 @@ return trans.show_error_message( "This dataset is currently being used as input or output. You cannot change datatype until the jobs have completed or you have canceled them." ) trans.app.datatypes_registry.change_datatype( data, params.datatype ) trans.sa_session.flush() + return trans.show_ok_message( "Changed the type of dataset '%s' to %s" % ( data.name, params.datatype ), refresh_frames=['history'] ) else: return trans.show_error_message( "You are unable to change datatypes in this manner. Changing %s to %s is not allowed." % ( data.extension, params.datatype ) ) elif params.save: