summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/hbactest.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-03-10 17:05:51 +0100
committerPetr Vobornik <pvoborni@redhat.com>2014-03-27 14:54:08 +0100
commit06a7a1b3cb277284448dd8344940395f0b29cd70 (patch)
tree2204bfebe49d3a2224fd4d5828c4980956ea4a26 /install/ui/src/freeipa/hbactest.js
parentd5cf0b273ad511d6cb99fbcb900eff528fe172df (diff)
downloadfreeipa-06a7a1b3cb277284448dd8344940395f0b29cd70.tar.gz
freeipa-06a7a1b3cb277284448dd8344940395f0b29cd70.tar.xz
freeipa-06a7a1b3cb277284448dd8344940395f0b29cd70.zip
webui: replace IPA.command usage with rpc.command
Replace all IPA.command, IPA.batch_command and IPA.concurrent_command usages by equivalents from rpc module. Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/hbactest.js')
-rw-r--r--install/ui/src/freeipa/hbactest.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/hbactest.js b/install/ui/src/freeipa/hbactest.js
index 93155b5ac..1bf90b766 100644
--- a/install/ui/src/freeipa/hbactest.js
+++ b/install/ui/src/freeipa/hbactest.js
@@ -25,13 +25,14 @@ define([
'./navigation',
'./phases',
'./reg',
+ './rpc',
'./text',
'./details',
'./search',
'./association',
'./entity',
'./hbac'],
- function(metadata_provider, IPA, $, navigation, phases, reg, text) {
+ function(metadata_provider, IPA, $, navigation, phases, reg, rpc, text) {
var exp = {};
@@ -235,7 +236,7 @@ IPA.hbac.test_facet = function(spec) {
var filter = that.state.filter;
- var command = IPA.command({
+ var command = rpc.command({
name: that.get_search_command_name(),
entity: that.managed_entity.name,
method: 'find',
@@ -675,7 +676,7 @@ IPA.hbac.test_run_facet = function(spec) {
that.run = function() {
- var command = IPA.command({ method: 'hbactest' });
+ var command = rpc.command({ method: 'hbactest' });
var options = {};
var validation_results = {