diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-03-22 13:36:08 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-03-22 13:36:08 +0100 |
commit | 49d7ed4f2bd61504ff77f8dd5e78df2a2ec42f83 (patch) | |
tree | 18045c0799ea12554d6bbc99d9e62a40c90c63c7 /src/web/js/components | |
parent | Code update. Some problems with CSRF token on Chromium... (diff) | |
download | newspipe-49d7ed4f2bd61504ff77f8dd5e78df2a2ec42f83.tar.gz newspipe-49d7ed4f2bd61504ff77f8dd5e78df2a2ec42f83.tar.bz2 newspipe-49d7ed4f2bd61504ff77f8dd5e78df2a2ec42f83.zip |
Removed extra info fo rreadability.
Diffstat (limited to 'src/web/js/components')
-rw-r--r-- | src/web/js/components/RightPanel.react.js | 14 |
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'}], |