From 805b94f22d42eddee42ed8772aca89036edb8399 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 12 Apr 2011 02:13:30 -0500 Subject: 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 --- install/ui/entitle.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'install/ui/entitle.js') diff --git a/install/ui/entitle.js b/install/ui/entitle.js index 3f62860c..47143347 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); -- cgit