aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/js/components/RightPanel.react.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/web/js/components/RightPanel.react.js b/src/web/js/components/RightPanel.react.js
index 6005e954..275bcfb3 100644
--- a/src/web/js/components/RightPanel.react.js
+++ b/src/web/js/components/RightPanel.react.js
@@ -35,7 +35,6 @@ var PanelMixin = {
</Button>);
}
btn_grp = (<ButtonGroup bsSize="small">
- {this.getExtraButton()}
{edit_button}
{rem_button}
</ButtonGroup>);
@@ -170,15 +169,6 @@ var Article = React.createClass({
],
obj_type: 'article',
getTitle: function() {return this.props.obj.title;},
- getExtraButton: function() {
- if(!this.props.obj.readability_available) {
- return null;
- }
- return (<Button id="readability-reload" onClick={this.reloadParsed}
- active={this.props.obj.readability_parsed}>
- <img src="/static/img/readability.png" />
- </Button>);
- },
getBody: function() {
return (<div className="panel-body">
{this.getCore()}
@@ -204,13 +194,10 @@ var Feed = React.createClass({
{'title': 'Feed link', 'type': 'link', 'key': 'link'},
{'title': 'Site link', 'type': 'link', 'key': 'site_link'},
{'title': 'Enabled', 'type': 'bool', 'key': 'enabled'},
- {'title': 'Auto Readability',
- 'type': 'bool', 'key': 'readability_auto_parse'},
{'title': 'Filters', 'type': 'ignore', 'key': 'filters'},
{'title': 'Category', 'type': 'ignore', 'key': 'category_id'},
],
getTitle: function() {return this.props.obj.title;},
- getExtraButton: function() {return null;},
getFilterRow: function(i, filter) {
return (<dd key={'d' + i + '-' + this.props.obj.id}
className="input-group filter-row">
@@ -370,7 +357,6 @@ var Category = React.createClass({
if(this.props.obj.id != 0) {return true;}
else {return false;}
},
- getExtraButton: function () {return null;},
isRemovable: function() {return this.isEditable();},
obj_type: 'category',
fields: [{'title': 'Category name', 'type': 'string', 'key': 'name'}],
bgstack15