diff options
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/details.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/install/ui/details.js b/install/ui/details.js index b62f0494..0c68fe4c 100644 --- a/install/ui/details.js +++ b/install/ui/details.js @@ -536,14 +536,18 @@ IPA.details_refresh = function() { var that = this; - that.pkey = $.bbq.getState(that.entity_name + '-pkey', true) || ''; + that.pkey = $.bbq.getState(that.entity_name + '-pkey', true) ; var command = IPA.command({ - 'method': that.entity_name+'_show', - 'args': [that.pkey], - 'options': { 'all': true, 'rights': true } + method: that.entity_name+'_show', + args: [], + options: { 'all': true, 'rights': true } }); + if (that.pkey){ + command.args = [that.pkey]; + } + command.on_success = function(data, text_status, xhr) { that.load(data.result.result); }; |