From 06a7a1b3cb277284448dd8344940395f0b29cd70 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 10 Mar 2014 17:05:51 +0100 Subject: 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 --- install/ui/src/freeipa/rule.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/src/freeipa/rule.js') diff --git a/install/ui/src/freeipa/rule.js b/install/ui/src/freeipa/rule.js index 332342bf8..c262c6a86 100644 --- a/install/ui/src/freeipa/rule.js +++ b/install/ui/src/freeipa/rule.js @@ -23,11 +23,12 @@ define([ './jquery', './phases', './reg', + './rpc', './details', './search', './association', './entity'], - function(IPA, $, phases, reg) { + function(IPA, $, phases, reg, rpc) { IPA.rule_details_widget = function(spec) { @@ -221,7 +222,7 @@ IPA.rule_association_table_field = function(spec) { if (values.length > 0) { //no need to delete if has no values - var command = IPA.command({ + var command = rpc.command({ entity: that.entity.name, method: that.widget.remove_method, args: that.facet.get_pkeys() -- cgit