diff options
Diffstat (limited to 'source/popup.js')
-rw-r--r-- | source/popup.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/popup.js b/source/popup.js index 22a63c1..24b242c 100644 --- a/source/popup.js +++ b/source/popup.js @@ -19,6 +19,12 @@ enyo.kind({ ], handleBookmark: function (inSender, inEvent) { - console.log(this.osisRef); + this.hide(); + api.putBookmark({osisRef: this.osisRef}, function (inError, inId) { + if(!inError) { + console.log("Added Bookmark"); + } else + console.log(inError); + }); } });
\ No newline at end of file |