summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/field.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/field.js')
-rw-r--r--install/ui/src/freeipa/field.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/field.js b/install/ui/src/freeipa/field.js
index ef50ebf2a..ab04fcacf 100644
--- a/install/ui/src/freeipa/field.js
+++ b/install/ui/src/freeipa/field.js
@@ -33,9 +33,10 @@ define([
'./navigation',
'./phases',
'./reg',
+ './rpc',
'./text'],
function(array, lang, metadata_provider, builder, datetime, IPA, $,
- navigation, phases, reg, text) {
+ navigation, phases, reg, rpc, text) {
/**
* Field module
@@ -1294,7 +1295,7 @@ IPA.link_field = function(spec) {
return;
}
- IPA.command({
+ rpc.command({
entity: that.other_entity.name,
method: 'show',
args: that.other_pkeys(),
@@ -1370,7 +1371,7 @@ IPA.enable_field = function(spec) {
method = that.enable_method;
}
- var command = IPA.command({
+ var command = rpc.command({
entity: that.entity.name,
method: method,
args: that.facet.get_pkeys(),
@@ -1577,4 +1578,4 @@ exp.register = function() {
phases.on('registration', exp.register);
return exp;
-}); \ No newline at end of file
+});