diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-12 02:13:30 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-04-13 23:27:50 -0400 |
commit | 805b94f22d42eddee42ed8772aca89036edb8399 (patch) | |
tree | 12c6d80ce465b0541cfb15332177f36fba79bc0b /install/ui/entitle.js | |
parent | 9cac1d88fcffcce65018869827eadcfc0ff157f1 (diff) | |
download | freeipa-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/entitle.js')
-rw-r--r-- | install/ui/entitle.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/install/ui/entitle.js b/install/ui/entitle.js index 3f62860c5..47143347f 100644 --- a/install/ui/entitle.js +++ b/install/ui/entitle.js @@ -150,7 +150,8 @@ IPA.entitle.search_facet = function(spec) { } var command = IPA.command({ - method: 'entitle_get', + entity: 'entitle', + method: 'get', options: { all: that.search_all }, @@ -175,7 +176,8 @@ IPA.entitle.consume_dialog = function(spec) { that.save(record); var command = IPA.command({ - method: 'entitle_consume', + entity: 'entitle', + method: 'consume', args: [ record.quantity ], on_success: function() { var entity = IPA.get_entity(that.entity_name); |