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

@ -48,6 +48,7 @@ Ox.AnnotationPanel = function(options, self) {
.defaults({
calendarSize: 256,
clickLink: null,
confirmDeleteDialog: null,
editable: false,
enableExport: false,
enableImport: false,
@ -371,6 +372,7 @@ Ox.AnnotationPanel = function(options, self) {
self.$folder[index] = Ox.AnnotationFolder(
Ox.extend({
clickLink: self.options.clickLink,
confirmDeleteDialog: self.options.confirmDeleteDialog,
collapsed: !self.options.showLayers[layer.id],
editable: self.options.editable,
highlight: getHighlight(layer.id),