find
This commit is contained in:
parent
a9c5fb43fe
commit
e41942ea99
28 changed files with 240 additions and 84 deletions
|
|
@ -254,8 +254,20 @@ oml.ui.usersDialog = function() {
|
|||
width: 480
|
||||
})
|
||||
.bindEvent({
|
||||
change: function() {
|
||||
// ...
|
||||
change: function(data) {
|
||||
var value = oml.validateName(
|
||||
data.value,
|
||||
users.map(function(user) {
|
||||
return user.nickname;
|
||||
})
|
||||
);
|
||||
this.value(value);
|
||||
oml.api.editUser({
|
||||
id: user.id,
|
||||
nickname: value
|
||||
}, function() {
|
||||
// ...
|
||||
});
|
||||
}
|
||||
})
|
||||
.appendTo($form);
|
||||
|
|
@ -480,6 +492,10 @@ oml.ui.usersDialog = function() {
|
|||
}
|
||||
}
|
||||
|
||||
function updateUsers() {
|
||||
// ...
|
||||
}
|
||||
|
||||
that.update = function() {
|
||||
|
||||
that.options({
|
||||
|
|
@ -503,7 +519,6 @@ oml.ui.usersDialog = function() {
|
|||
);
|
||||
});
|
||||
|
||||
Ox.print('FOLDERS::', folders)
|
||||
folders.forEach(function(folder, index) {
|
||||
$lists.push(
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue