1
0
Fork 0
forked from 0x2620/oxjs

select multple annotations, option to pass confirm delete dialog

This commit is contained in:
j 2025-01-24 17:10:36 +05:30
commit 03eb3d4a56
4 changed files with 42 additions and 19 deletions

View file

@ -35,6 +35,7 @@ Ox.AnnotationFolder = function(options, self) {
var that = Ox.Element({}, self)
.defaults({
clickLink: null,
confirmDeleteDialog: null,
collapsed: false,
editable: false,
highlight: '',
@ -281,6 +282,7 @@ Ox.AnnotationFolder = function(options, self) {
}
self.$annotations = Ox.ArrayEditable(Ox.extend({
clickLink: self.options.clickLink,
confirmDeleteDialog: self.options.confirmDeleteDialog,
editable: self.options.editable,
getSortValue: self.options.type == 'text'
? function(value) {