Fix demo to convert annotation indexes to actual annotations

Change-Id: Ib9d4ab87baca2db7e9e8f2b9fc974c3198d9fe28
This commit is contained in:
Ed Sanders 2013-05-30 11:30:26 +01:00
parent 750ab24d31
commit 33e7fdb643

View file

@ -425,7 +425,7 @@ $html = file_get_contents( $page );
if ( annotations ) {
$label.append(
$( '<span>' ).text(
'[' + annotations.get().map( function( ann ) {
'[' + ve.instances[0].model.documentModel.store.values( annotations ).map( function( ann ) {
return ann.name;
} ).join( ', ' ) + ']'
)