1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

feature #3328: Fix isFeatureEnabled method

This commit is contained in:
Daniel Molina 2014-11-20 17:34:38 +01:00
parent 8d7f8f7f22
commit c4299030f4

View File

@ -53,7 +53,7 @@ Config = {
},
"isFeatureEnabled": function(feature_name){
if (config['features'] && config['features'][feature_name]) {
if (config['view']['features'] && config['view']['features'][feature_name]) {
return true;
} else {
return false;