diff --git a/install/ui/src/freeipa/details.js b/install/ui/src/freeipa/details.js index d1f230527..a38b3a300 100644 --- a/install/ui/src/freeipa/details.js +++ b/install/ui/src/freeipa/details.js @@ -553,6 +553,13 @@ exp.details_facet = IPA.details_facet = function(spec, no_init) { */ that.update_command_name = spec.update_command_name || 'mod'; + /** + * Name of url argument which will be added to update RPC command as option. + * + * @property {string} + */ + that.update_attribute = spec.update_attribute || null; + /** * Command mode * Command mode determines how update information on update is collected. @@ -929,6 +936,10 @@ exp.details_facet = IPA.details_facet = function(spec, no_init) { options: options }); + if (that.update_attribute) { + that.add_url_arg_to_command(command, that.update_attribute); + } + //set command options that.add_fields_to_command(update_info, command);