1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-30 19:11:29 +00:00

Added in a much better error page

This commit is contained in:
Scott Tolksdorf
2016-08-20 12:23:24 -04:00
parent 62d70022e7
commit 6b337b5d69
6 changed files with 76 additions and 15 deletions

View File

@@ -53,6 +53,9 @@ var EditPage = React.createClass({
savedBrew : null,
componentDidMount: function(){
console.log('getting here');
this.debounceSave = _.debounce(this.save, SAVE_TIMEOUT);
window.onbeforeunload = ()=>{
if(this.state.isSaving || this.state.isPending){