diff --git a/build/afterAllArtifactBuild.js b/build/afterAllArtifactBuild.js index 370573d72..fe44053ff 100644 --- a/build/afterAllArtifactBuild.js +++ b/build/afterAllArtifactBuild.js @@ -17,6 +17,7 @@ exports.default = function (buildResult) { console.log("artifactPaths", buildResult.artifactPaths) console.log("platformToTargets", buildResult.platformToTargets) if (process.env.BUILD_TYPE === 'trial') { + throw new Error("I pitty the fool!"); if(process.env.BUILD_PLATFORM === 'win32') { fs.renameSync('latest.yml', 'latest-trial.yml') } else { diff --git a/example.pltr b/example.pltr index d7671c462..b236b6e99 100644 --- a/example.pltr +++ b/example.pltr @@ -646,7 +646,7 @@ "dirty": true, "fileName": "/Users/sparrowhawk/github/plottr_electron/example.pltr", "loaded": true, - "version": "1.4.26" + "version": "1.4.27" }, "lines": [ { @@ -1098,7 +1098,7 @@ "age": [] }, "characterSort": "name~asc", - "currentView": "characters", + "currentView": "timeline", "darkMode": false, "noteFilter": null, "noteSort": "title~asc", diff --git a/package.json b/package.json index 985b418c0..130455392 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "repository": "https://github.com/cameronsutter/plottr_electron.git", "private": true, "readme": "Copyright 2016 C. Louis S. (Cameron Sutter)", - "version": "1.4.27", + "version": "1.4.28", "author": { "name": "C. Louis S.", "email": "cameronsutter0@gmail.com", diff --git a/src/app/components/timeline/cardView.js b/src/app/components/timeline/cardView.js index 14f3c98d6..dc9a1f47c 100644 --- a/src/app/components/timeline/cardView.js +++ b/src/app/components/timeline/cardView.js @@ -93,7 +93,7 @@ class CardView extends Component { } handleBlur = () => { - var newTitle = this.refs.titleInput.getValue() + var newTitle = ReactDOM.findDOMNode(this.refs.titleInput).value if (newTitle === '') { this.setState({creating: false}) return false diff --git a/src/app/components/timeline/lineView.js b/src/app/components/timeline/lineView.js index e118ebbfc..fc769e366 100644 --- a/src/app/components/timeline/lineView.js +++ b/src/app/components/timeline/lineView.js @@ -77,7 +77,7 @@ class LineView extends Component { } handleBlur = () => { - if (this.refs.titleInput.getValue() !== '') { + if (ReactDOM.findDOMNode(this.refs.titleInput).value !== '') { this.editTitle() this.setState({editing: false}) }