more...
This commit is contained in:
parent
2ee2bc178a
commit
10d2f35b7b
20 changed files with 1334 additions and 629 deletions
|
|
@ -453,12 +453,12 @@ oml.ui.usersDialog = function() {
|
|||
})
|
||||
.bindEvent({
|
||||
select: function(data) {
|
||||
$lists.forEach(function($element) {
|
||||
if ($element != $list) {
|
||||
$element.options({selected: []});
|
||||
}
|
||||
});
|
||||
renderUser(Ox.getObjectById(users, data.ids[0]));
|
||||
if (data.ids.length) {
|
||||
selectItem($list);
|
||||
renderUser(Ox.getObjectById(users, data.ids[0]));
|
||||
} else {
|
||||
renderUser();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue