Merge pull request #59 from creative-commoners/pulls/2.0/fix-initial-button-state

FIX Reference alias for this inside javascript closure - report now works on initial load
This commit is contained in:
Robbie Averill 2019-03-11 15:39:27 +13:00 committed by GitHub
commit e41ee18b7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
success: function(data) {
// No report, so let user create one
if (!data) {
this.buttonReset();
self.buttonReset();
return;
}