From b184e24f912dcde3484aeafec1f497a130598991 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 22 Apr 2013 15:17:19 +0200 Subject: Removal of IPA.metadata usages https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/hbactest.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/src/freeipa/hbactest.js') 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; -- cgit