Changeset 527:652cc8d3f1a9 in documentViewer for zpt/layer_text_annotator.zpt


Ignore:
Timestamp:
Apr 12, 2012, 12:27:37 PM (12 years ago)
Author:
casties
Branch:
default
Message:

fixed bug with text when layer is only annotator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/layer_text_annotator.zpt

    r526 r527  
    4141                var devAnnotator = new Annotator(elem).addPlugin('Auth', {
    4242                    //tokenUrl: 'http://annotateit.org/api/token'
    43                     tokenUrl : 'http://localhost:8080/test/annotator/token?user=casties'
     43                    tokenUrl : 'template/token?user=anonymous'
    4444                //autoFetch: false
    4545                }).addPlugin('Permissions', {
    46                     user : 'casties',
     46                    user : 'anonymous',
    4747                    userString : function(user) {
    4848                        if (user && user.name) {
     
    5858                    }
    5959                }).addPlugin('Store', {
    60                     prefix : 'http://localhost:18080/AnnotationManager/annotator',
    61                     //prefix: 'http://virtuoso.mpiwg-berlin.mpg.de:8080/AnnotationManager/annotator',
     60                    //prefix : 'http://localhost:18080/AnnotationManager/annotator',
     61                    prefix: 'http://virtuoso.mpiwg-berlin.mpg.de:8080/AnnotationManager/annotator',
    6262                    //prefix: 'http://annotateit.org/api',
    6363                    annotationData : {
Note: See TracChangeset for help on using the changeset viewer.