commit/galaxy-central: guerler: Trackster: Fix cell content if metadata is inconsistent
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/84781f00ff8e/ Changeset: 84781f00ff8e User: guerler Date: 2013-10-03 19:21:59 Summary: Trackster: Fix cell content if metadata is inconsistent Affected #: 1 file diff -r a1c04a1b716a2c83f821b08f5ca18ace27fcfe21 -r 84781f00ff8e57848397177511b77a400055b59f static/scripts/mvc/data.js --- a/static/scripts/mvc/data.js +++ b/static/scripts/mvc/data.js @@ -183,7 +183,7 @@ var column_types = this.model.get_metadata('column_types'); if (colspan !== undefined) { $cell.attr('colspan', colspan).addClass('stringalign'); - } else if (index < column_types.length) { + } else if (column_types !== undefined && index < column_types.length) { if (column_types[index] === 'str' || column_types === 'list') { /* Left align all str columns, right align the rest */ $cell.addClass('stringalign'); 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