forked from 0x2620/oxjs
fixing a resize bug in Ox.List
This commit is contained in:
parent
7f904cda1f
commit
f311e05412
5 changed files with 23 additions and 5 deletions
|
|
@ -31,7 +31,7 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
|
||||
that.$element = new Ox.CollapsePanel({
|
||||
collapsed: false,
|
||||
extras: [
|
||||
extras: self.options.editable ? [
|
||||
new Ox.Button({
|
||||
id: 'add',
|
||||
style: 'symbol',
|
||||
|
|
@ -43,7 +43,7 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
that.triggerEvent('add', {value: ''});
|
||||
}
|
||||
})
|
||||
],
|
||||
] : [],
|
||||
size: 16,
|
||||
title: self.options.title
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue