From 83516a6449b863a6f9572f93c1e1a285a208ef2d Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Tue, 2 Feb 2016 22:16:07 +0100 Subject: submit button on bottom --- src/web/js/components/RightPanel.react.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/web/js/components/RightPanel.react.js b/src/web/js/components/RightPanel.react.js index 9e341e5c..d2935253 100644 --- a/src/web/js/components/RightPanel.react.js +++ b/src/web/js/components/RightPanel.react.js @@ -86,12 +86,6 @@ var PanelMixin = { } }.bind(this)); } else { - items.push(
- -
); this.fields.filter(function(field) { return field.type != 'ignore'; }).map(function(field) { @@ -113,6 +107,13 @@ var PanelMixin = { } return (
{items}
); }, + getSubmit: function() { + return (
+ +
); + }, render: function() { return (
{this.getHeader()} @@ -316,6 +317,7 @@ var Feed = React.createClass({ {this.getCategorySelect()} {this.getCore()} {this.getFilterRows()} + {this.state.edit_mode?this.getSubmit():null}
); }, @@ -351,6 +353,7 @@ var Category = React.createClass({ getBody: function() { return (
{this.getCore()} + {this.state.edit_mode?this.getSubmit():null}
); }, }); -- cgit