commit/galaxy-central: guerler: Grids: Fix unescaping strings
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/372ff6092356/ Changeset: 372ff6092356 User: guerler Date: 2013-12-02 19:07:17 Summary: Grids: Fix unescaping strings Affected #: 1 file diff -r 752929cea6d37423c14f46f317ef3815cfc3c3d0 -r 372ff609235643994e50f1502fb9c73d37a3f97f templates/grid_base.mako --- a/templates/grid_base.mako +++ b/templates/grid_base.mako @@ -403,9 +403,10 @@ value = column_settings['value'] inbound = column_settings['inbound'] - # check if formatting is defined - value = str(value).replace('//', '/') - + # unescape value + if isinstance(value, unicode): + value = value.replace('//', '/') + # Attach popup menu? id = "" cls = "" Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org