[hg] galaxy 2900: Make HDA grid unicode compatible.
details: http://www.bx.psu.edu/hg/galaxy/rev/197ff8461127 changeset: 2900:197ff8461127 user: jeremy goecks <jeremy.goecks@emory.edu> date: Wed Oct 21 11:53:29 2009 -0400 description: Make HDA grid unicode compatible. 1 file(s) affected in this change: templates/dataset/grid.mako diffs (12 lines): diff -r 4252c14c0063 -r 197ff8461127 templates/dataset/grid.mako --- a/templates/dataset/grid.mako Wed Oct 21 10:21:48 2009 -0400 +++ b/templates/dataset/grid.mako Wed Oct 21 11:53:29 2009 -0400 @@ -260,6 +260,8 @@ %> %for cellnum, v in enumerate( value ): <% + if isinstance(v, str): + v = unicode(v, 'utf-8') # Attach popup menu? if column.attach_popup and cellnum == 0: extra = '<a id="grid-%d-popup" class="arrow" style="display: none;"><span>▼</span></a>' % i
participants (1)
-
Greg Von Kuster