mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #499: Rewrite is_error()
This commit is contained in:
parent
09707865be
commit
b912b71da8
@ -38,14 +38,7 @@ var OpenNebula = {
|
||||
|
||||
"is_error": function(obj)
|
||||
{
|
||||
if (obj.error)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return obj.error ? true : false;
|
||||
},
|
||||
|
||||
"Helper": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user