1
0
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:
Hector Sanjuan 2011-09-09 22:25:51 +02:00
parent 09707865be
commit b912b71da8

View File

@ -38,14 +38,7 @@ var OpenNebula = {
"is_error": function(obj)
{
if (obj.error)
{
return true;
}
else
{
return false;
}
return obj.error ? true : false;
},
"Helper": {