bind to 'select', not 'selectplace'
This commit is contained in:
parent
2dc8fd19aa
commit
d30cda0cfd
1 changed files with 2 additions and 2 deletions
|
@ -215,8 +215,8 @@ Ox.AnnotationFolder = function(options, self) {
|
||||||
height: self.widgetSize + 'px'
|
height: self.widgetSize + 'px'
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
// FIXME: should be select, not selectplace
|
// FIXME: duplicated!
|
||||||
selectplace: function(data) {
|
select: function(data) {
|
||||||
if (
|
if (
|
||||||
!data.id && self.options.selected
|
!data.id && self.options.selected
|
||||||
&& isDefined(Ox.getObjectById(self.options.items, self.options.selected))
|
&& isDefined(Ox.getObjectById(self.options.items, self.options.selected))
|
||||||
|
|
Loading…
Reference in a new issue