forked from 0x2620/oxjs
select multple annotations, option to pass confirm delete dialog
This commit is contained in:
parent
96d4dfe71d
commit
03eb3d4a56
4 changed files with 42 additions and 19 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue