summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-12 02:13:30 -0500
committerAdam Young <ayoung@redhat.com>2011-04-13 23:27:50 -0400
commit805b94f22d42eddee42ed8772aca89036edb8399 (patch)
tree12c6d80ce465b0541cfb15332177f36fba79bc0b /install/ui/widget.js
parent9cac1d88fcffcce65018869827eadcfc0ff157f1 (diff)
downloadfreeipa-805b94f22d42eddee42ed8772aca89036edb8399.tar.gz
freeipa-805b94f22d42eddee42ed8772aca89036edb8399.tar.xz
freeipa-805b94f22d42eddee42ed8772aca89036edb8399.zip
Merged IPA.cmd() into IPA.command().
The IPA.cmd() has been merged into IPA.command(). All invocations and test cases have been converted. Ticket #988
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 3b32d4692..fa102737c 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -1346,7 +1346,14 @@ IPA.table_widget = function (spec) {
}
var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
- IPA.cmd('show', [pkey], {'all': true, 'rights': true}, on_success, on_error, that.entity_name);
+ IPA.command({
+ entity: that.entity_name,
+ method: 'show',
+ args: [pkey],
+ options: {'all': true, 'rights': true},
+ on_success: on_success,
+ on_error: on_error
+ }).execute();
};
if (spec.columns) {
@@ -1400,7 +1407,8 @@ IPA.entity_select_widget = function(spec) {
function find_error(err){
}
IPA.command({
- method: entity+'_find',
+ entity: entity,
+ method: 'find',
args:[that.entity_filter.val()],
options:{},
on_success:find_success,