bind to 'select', not 'selectplace'

This commit is contained in:
rlx 2012-06-30 14:59:52 +00:00
parent 2dc8fd19aa
commit d30cda0cfd

View file

@ -215,8 +215,8 @@ Ox.AnnotationFolder = function(options, self) {
height: self.widgetSize + 'px'
})
.bindEvent({
// FIXME: should be select, not selectplace
selectplace: function(data) {
// FIXME: duplicated!
select: function(data) {
if (
!data.id && self.options.selected
&& isDefined(Ox.getObjectById(self.options.items, self.options.selected))