summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/widget.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/widget.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/widget.js')
-rw-r--r--install/ui/src/freeipa/widget.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index 6f3e1b1ef..a9b77694e 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -34,10 +34,11 @@ define(['dojo/_base/array',
'./jquery',
'./phases',
'./reg',
+ './rpc',
'./text'
],
function(array, lang, Evented, has, keys, on, builder, datetime, IPA, $,
- phases, reg, text) {
+ phases, reg, rpc, text) {
/**
* Widget module
@@ -2933,7 +2934,7 @@ IPA.attribute_table_widget = function(spec) {
var pkeys = that.get_pkeys();
- var command = IPA.command({
+ var command = rpc.command({
entity: that.entity.name,
method: that.remove_command || 'del',
args: pkeys,
@@ -3543,7 +3544,7 @@ IPA.entity_select_widget = function(spec) {
that.filter_options = spec.filter_options || {};
that.create_search_command = function(filter) {
- return IPA.command({
+ return rpc.command({
entity: that.other_entity.name,
method: 'find',
args: [filter],