forked from 0x2620/oxjs
misc fixes
This commit is contained in:
parent
33f08f3a41
commit
b881f74c7e
3 changed files with 18 additions and 9 deletions
|
|
@ -196,7 +196,7 @@ Ox.Select = function(options, self) {
|
|||
that.selectItem = function(id) {
|
||||
//Ox.print('selectItem', id, Ox.getObjectById(self.options.items, id).title)
|
||||
self.options.type == 'text' && self.$title.html(
|
||||
Ox.getObjectById(self.options.items, id).title[0] // fixme: title should not have become an array
|
||||
Ox.getObjectById(self.options.items, id).title
|
||||
);
|
||||
self.$menu.checkItem(id);
|
||||
self.checked = self.optionGroup.checked();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue