This commit is contained in:
j 2014-05-12 14:57:47 +02:00
commit 10d2f35b7b
20 changed files with 1334 additions and 629 deletions

View file

@ -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();
}
}
});