Open natarajan050190 opened 8 years ago
Can you share anything about how we can reproduce this?
I have same issue, once I click on edit or delete the page get refreshed, I used code below
$('#divContent-@Model.ID').annotator() .annotator('addPlugin', 'Markdown') .annotator('addPlugin', 'Tags') .annotator('addPlugin', 'Touch', { force: true, useHighlighter: false }) .annotator('addPlugin', 'Store' , { prefix: '@URL' + 'api', annotationData: { 'ResourceId': '@Model.ID', 'ProfileId': '@currentProfile.ID', 'uri': window.location.href, 'annotator_schema_version': 'v1.0' },
loadFromSearch: {
'limit': 20,
'resourceId': 'ID'
},
showViewPermissionsCheckbox: false,
showEditPermissionsCheckbox: false,
urls: {
create: '/Annotation',
update: '/Annotation/:id',
destroy: '/Annotation/:id',
search: '/Annotation'
}
});
Viewer.prototype.onEditClick,Viewer.prototype.onDeleteClick,add event.defaultDefault() in annotator.min.js
Unable Edit or Delete the Annotations - Page getting refreshed. When click on the edit or delete icon the page getting refreshed unable to do any actions.