Changing how filepath is handled for Windows
This commit is contained in:
@@ -85237,7 +85237,7 @@ var addTorrentPopup = function (_React$Component) {
|
||||
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = addTorrentPopup.__proto__ || Object.getPrototypeOf(addTorrentPopup)).call.apply(_ref, [this].concat(args))), _this), _this.state = {
|
||||
open: false,
|
||||
magnetLinkValue: "",
|
||||
storageValue: ""
|
||||
storageValue: ''
|
||||
|
||||
}, _this.handleClickOpen = function () {
|
||||
_this.setState({ open: true });
|
||||
@@ -93502,7 +93502,7 @@ var addTorrentFilePopup = function (_React$Component) {
|
||||
open: false,
|
||||
torrentFileName: "",
|
||||
torrentFileValue: [],
|
||||
storageValue: "",
|
||||
storageValue: '', //raw string for possible windows filepath
|
||||
showDrop: true
|
||||
}, _this.handleClickOpen = function () {
|
||||
_this.setState({ open: true });
|
||||
@@ -93526,7 +93526,7 @@ var addTorrentFilePopup = function (_React$Component) {
|
||||
};
|
||||
console.log("Sending magnet link: ", torrentFileMessage);
|
||||
ws.send(JSON.stringify(torrentFileMessage));
|
||||
_this.setState({ torrentFileName: "", storageValue: "", torrentFileValue: [], showDrop: true });
|
||||
_this.setState({ torrentFileName: "", storageValue: '', torrentFileValue: [], showDrop: true });
|
||||
};
|
||||
}, _this.onFileLoad = function (file) {
|
||||
_this.setState({ torrentFileName: file[0].name });
|
||||
|
Reference in New Issue
Block a user