more logging
This commit is contained in:
parent
497c2bb6be
commit
ad2d763fbb
1 changed files with 1 additions and 1 deletions
|
@ -93,6 +93,7 @@ oml.ui.viewer = function() {
|
|||
height: '100%',
|
||||
border: 0
|
||||
}).onMessage(function(data, event) {
|
||||
console.log('got', event, data)
|
||||
if (event == 'addAnnotation') {
|
||||
saveAnnotations(data);
|
||||
var $annotation = oml.ui.annotation(data, $iframe).bindEvent(annotationEvents)
|
||||
|
@ -114,7 +115,6 @@ oml.ui.viewer = function() {
|
|||
} else if (event == 'selectText') {
|
||||
oml.$ui.annotationPanel.updateSelection(data)
|
||||
} else {
|
||||
console.log('got', event, data)
|
||||
that.triggerEvent(event, data);
|
||||
}
|
||||
}).bindEvent({
|
||||
|
|
Loading…
Reference in a new issue