[annotator-dev] annotator-dev Digest, Vol 30, Issue 10

Gong Huaiyu James (NCS) jamesh at ncs.com.sg
Wed Oct 30 10:55:52 UTC 2013

Sorry , this is the  annotator permission issues.   Annotator permission has perfect solutions

I can solve it.


-----Original Message-----
From: Gong Huaiyu James (NCS) 
Sent: Wednesday, 30 October, 2013 12:01 PM
To: annotator-dev at lists.okfn.org
Subject: RE: annotator-dev Digest, Vol 30, Issue 10
Importance: High

Dear developers:
                      How to hidden/Gray the "delete" button when view the annotations?
Please see the attached screenshots.

I am try to remove the edit button from the following events, but don't know how to hidden/remove edit buttons for the certain conditions.
For example, if this annotation is public, and the owner is not myself, I can only view it but not edit it.

      	          .subscribe("annotationViewerTextField", function (field,annotation) {
        	            console.info(" Enter into annotationViewerTextField 46");

        	          .subscribe("annotationViewerShown", function (viewer, annotations) {
        	        	  console.info("Enter annotationViewerShown! 45");

More information about the annotator-dev mailing list