diff options
Diffstat (limited to 'install/ui/src/freeipa/hbactest.js')
-rw-r--r-- | install/ui/src/freeipa/hbactest.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/hbactest.js b/install/ui/src/freeipa/hbactest.js index 4fc47aab2..4eefe5635 100644 --- a/install/ui/src/freeipa/hbactest.js +++ b/install/ui/src/freeipa/hbactest.js @@ -19,6 +19,7 @@ */ define([ + './_base/metadata_provider', './ipa', './jquery', './navigation', @@ -30,7 +31,7 @@ define([ './association', './entity', './hbac'], - function(IPA, $, navigation, phases, reg, text) { + function(metadata_provider, IPA, $, navigation, phases, reg, text) { var exp = {}; @@ -140,7 +141,7 @@ IPA.hbac.test_entity = function(spec) { that.label = text.get('@i18n:objects.hbactest.label'); that.get_default_metadata = function() { - return IPA.metadata.commands[that.name]; + return metadata_provider.get('@mc:'+that.name); }; return that; |