summaryrefslogtreecommitdiffstats
path: root/install/ui/details.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/details.js
parent9cac1d88fcffcce65018869827eadcfc0ff157f1 (diff)
downloadfreeipa.git-805b94f22d42eddee42ed8772aca89036edb8399.tar.gz
freeipa.git-805b94f22d42eddee42ed8772aca89036edb8399.tar.xz
freeipa.git-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/details.js')
-rw-r--r--install/ui/details.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/install/ui/details.js b/install/ui/details.js
index 794e19fd..0a22c177 100644
--- a/install/ui/details.js
+++ b/install/ui/details.js
@@ -572,9 +572,9 @@ IPA.details_refresh = function() {
that.pkey = $.bbq.getState(that.entity_name + '-pkey', true) ;
var command = IPA.command({
- method: that.entity_name+'_show',
- args: [],
- options: { 'all': true, 'rights': true }
+ entity: that.entity_name,
+ method: 'show',
+ options: { all: true, rights: true }
});
if (IPA.details_refresh_devel_hook){
@@ -671,7 +671,8 @@ IPA.details_update = function(on_win, on_fail) {
var args = pkey ? [pkey] : [];
var command = IPA.command({
- method: entity_name+'_mod',
+ entity: entity_name,
+ method: 'mod',
args: args,
options: modlist,
on_success: on_success,