summaryrefslogtreecommitdiff
path: root/ext/fg/js/driver.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-04 19:44:50 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-04 19:44:50 -0800
commit8615d5f497ab595b72e1e1d666c4a373eb5a5940 (patch)
treef1fd4b1e308bcf7673e1bac00044222d0d1a9357 /ext/fg/js/driver.js
parent8049c6083ef6e709e92ea5f230cd8a764931b875 (diff)
show spinner when adding notes (resolves #25)
Diffstat (limited to 'ext/fg/js/driver.js')
-rw-r--r--ext/fg/js/driver.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js
index 9aab7950..0c785d31 100644
--- a/ext/fg/js/driver.js
+++ b/ext/fg/js/driver.js
@@ -279,6 +279,8 @@ class Driver {
} else {
alert('Note could not be added');
}
+
+ this.popup.invokeApi('addNoteComplete');
}).catch(error => {
alert('Error: ' + error);
});