Make HDA grid unicode compatible.

This commit is contained in:
Jeremy Goecks
2009-10-21 11:53:29 -04:00
parent d5a99517b1
commit 9b335bfaf2
+2
View File
@@ -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>&#9660;</span></a>' % i