[annotator-dev] Help for annotator.js

Sagar Tamboli tambolisagar22 at gmail.com
Fri May 9 11:45:13 UTC 2014


I am using store plugin of annotator.js
The problem is I am unable to store the received data(enetered into the
comment box of annotatorjs ) at the desired location as JSON.

The *code *for the plugin is as follows

    $('#page-container').annotator().annotator('addPlugin', 'Store', {
      urls: {

        prefix: '/editor/uploaded',


The *output* I get in console is

    XHR finished loading: POST "http://localhost/editor/uploaded/annotations
    Uncaught TypeError: Cannot read property 'id' of null

Please let me know how the storage can be accomplished.
Thanks in advance !!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20140509/e3338bbb/attachment-0003.html>

More information about the annotator-dev mailing list