Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Is there a way to use annotorious without save/cancel popup? #177

Open
andrewkouri opened this issue Apr 12, 2017 · 1 comment
Open

Is there a way to use annotorious without save/cancel popup? #177

andrewkouri opened this issue Apr 12, 2017 · 1 comment

Comments

@andrewkouri
Copy link

andrewkouri commented Apr 12, 2017

Would like to use Annotorious just for the bounding boxes, however the save and cancel popups are causing repetitive motion injury.

@forthtemple
Copy link

In editor.js in the function

annotorious.Editor.prototype.open = function(opt_annotation, opt_event)

under the line

this._annotator.fireEvent(annotorious.events.EventType.EDITOR_SHOWN, opt_annotation);

put the line
this._btnSave.click();

This will automatically close the annotation editor box with no comment

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants