mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
Feature #495: Fixed empty username + nokogiri
This commit is contained in:
parent
b6d1ba03f0
commit
21f5fb1cf3
@ -2423,10 +2423,16 @@ function vNetworkInfoListener(){
|
||||
|
||||
function userElementArray(user_json){
|
||||
user = user_json.USER;
|
||||
if (!user.NAME || user.NAME == {}){
|
||||
name = "";
|
||||
} else {
|
||||
name = user.NAME;
|
||||
}
|
||||
|
||||
return [
|
||||
'<input type="checkbox" id="user_'+user.ID+'" name="selected_items" value="'+user.ID+'"/>',
|
||||
user.ID,
|
||||
user.NAME
|
||||
name
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user