summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/hbactest.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-22 15:17:19 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:29 +0200
commitb184e24f912dcde3484aeafec1f497a130598991 (patch)
treea1d72f1883a234ddca9299f11e9117103d1d34ce /install/ui/src/freeipa/hbactest.js
parentc3615f0ebc999c8c77c7acc354cc2f776c48893b (diff)
downloadfreeipa-b184e24f912dcde3484aeafec1f497a130598991.tar.gz
freeipa-b184e24f912dcde3484aeafec1f497a130598991.tar.xz
freeipa-b184e24f912dcde3484aeafec1f497a130598991.zip
Removal of IPA.metadata usages
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/hbactest.js')
-rw-r--r--install/ui/src/freeipa/hbactest.js5
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;