This commit is contained in:
Maximilian Hils 2014-09-18 03:56:35 +02:00
parent 0d64cc9327
commit 01da54f1c3
3 changed files with 5 additions and 8 deletions

View File

@ -176,12 +176,9 @@ class FlowView(common.WWrap):
key = "header", key = "header",
val = "text" val = "text"
) )
if conn.content is not None: override = self.override_get()
override = self.override_get() viewmode = self.viewmode_get(override)
viewmode = self.viewmode_get(override) msg, body = self.cont_view_handle_missing(conn, viewmode)
msg, body = self.cont_view_handle_missing(conn, viewmode)
elif conn.content == CONTENT_MISSING:
pass
return headers, msg, body return headers, msg, body
def conn_text_merge(self, headers, msg, body): def conn_text_merge(self, headers, msg, body):

View File

@ -582,7 +582,7 @@ var FlowTableHead = React.createClass({displayName: 'FlowTableHead',
var columns = this.props.columns.map(function(column){ var columns = this.props.columns.map(function(column){
return column.renderTitle(); return column.renderTitle();
}.bind(this)); }.bind(this));
return React.DOM.thead(null, columns); return React.DOM.thead(null, React.DOM.tr(null, columns));
} }
}); });

View File

@ -25,7 +25,7 @@ var FlowTableHead = React.createClass({
var columns = this.props.columns.map(function(column){ var columns = this.props.columns.map(function(column){
return column.renderTitle(); return column.renderTitle();
}.bind(this)); }.bind(this));
return <thead>{columns}</thead>; return <thead><tr>{columns}</tr></thead>;
} }
}); });