diff options
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r-- | install/ui/widget.js | 12 |
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, |