closes #9, closes #8, closes #3, closes #4, added new notification features, search torrents, change directory, force seed torrent, updated Readme
This commit is contained in:
@@ -97281,7 +97281,6 @@ var RSSModalLayout = function (_React$Component) {
|
||||
};
|
||||
|
||||
_this.handleAddRSSFeed = function () {
|
||||
_this.setState({ textValue: "Clear" }); //clearing out the text submitted
|
||||
var RSSURLSubmit = {
|
||||
MessageType: "addRSSFeed",
|
||||
Payload: [_this.state.textValue]
|
||||
@@ -97291,6 +97290,7 @@ var RSSModalLayout = function (_React$Component) {
|
||||
MessageType: "rssFeedRequest"
|
||||
};
|
||||
ws.send(JSON.stringify(RSSRequest)); //Immediatly request an update of the feed when you add a new URL
|
||||
_this.setState({ textValue: "" });
|
||||
};
|
||||
|
||||
_this.setTextValue = function (event) {
|
||||
@@ -97298,7 +97298,10 @@ var RSSModalLayout = function (_React$Component) {
|
||||
};
|
||||
|
||||
var layout = [{ i: 'a', x: 0, y: 0, w: 6, h: 1, static: true }, { i: 'b', x: 0, y: 1, w: 1, h: 5, static: true }, { i: 'c', x: 1, y: 1, w: 5, h: 5, minW: 5, minH: 3, static: true }];
|
||||
_this.state = { layout: layout };
|
||||
_this.state = {
|
||||
layout: layout,
|
||||
textValue: ""
|
||||
};
|
||||
|
||||
return _this;
|
||||
}
|
||||
@@ -97308,16 +97311,6 @@ var RSSModalLayout = function (_React$Component) {
|
||||
value: function onLayoutChange(layout) {
|
||||
this.props.onLayoutChange(layout);
|
||||
}
|
||||
}, {
|
||||
key: 'componentWillReceiveProps',
|
||||
value: function componentWillReceiveProps(nextProps) {
|
||||
console.log("nextprops", nextProps, "Modal", nextProps.RSSModalOpen);
|
||||
}
|
||||
}, {
|
||||
key: 'componentWillMount',
|
||||
value: function componentWillMount() {
|
||||
console.log("Mounting grid");
|
||||
}
|
||||
}, {
|
||||
key: 'render',
|
||||
value: function render() {
|
||||
@@ -116880,7 +116873,7 @@ var DeleteTorrentModal = function (_React$Component) {
|
||||
var selection = [];
|
||||
var deleteTorrentHashes = {
|
||||
MessageType: "deleteTorrents",
|
||||
MessageDetail: "true",
|
||||
MessageDetail: "false", //delete with data
|
||||
Payload: _this.props.selectionHashes
|
||||
};
|
||||
console.log("Deleting Torrents", deleteTorrentHashes);
|
||||
@@ -116893,7 +116886,7 @@ var DeleteTorrentModal = function (_React$Component) {
|
||||
|
||||
var deleteTorrentHashes = {
|
||||
MessageType: "deleteTorrents",
|
||||
MessageDetail: "true",
|
||||
MessageDetail: "true", //delete with data
|
||||
Payload: _this.props.selectionHashes
|
||||
};
|
||||
console.log("Deleting Torrents and Data", deleteTorrentHashes);
|
||||
|
Reference in New Issue
Block a user