diff options
Diffstat (limited to 'install/ui/details.js')
-rw-r--r-- | install/ui/details.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/install/ui/details.js b/install/ui/details.js index fd3570e1..440a9b7d 100644 --- a/install/ui/details.js +++ b/install/ui/details.js @@ -800,20 +800,21 @@ IPA.details_facet = function(spec) { command.execute(); }; + that.get_refresh_command_name = function() { + return that.entity.name+'_show'; + }; + that.refresh = function() { that.pkey = IPA.nav.get_state(that.entity.name+'-pkey'); var command = IPA.command({ + name: that.get_refresh_command_name(), entity: that.entity.name, method: 'show', options: { all: true, rights: true } }); - if (IPA.details_refresh_devel_hook) { - IPA.details_refresh_devel_hook(that.entity.name, command, that.pkey); - } - if (that.pkey) { command.args = that.get_primary_key(true); |