diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index b3e342b83..e4b6f12ad 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -4418,10 +4418,9 @@ IPA.attribute_table_widget = function(spec) { $.extend(dialog_spec, that.adder_dialog_spec); } - var label = that.entity.metadata.label_singular; var pkey = that.facet.get_pkey(); - dialog_spec.title = text.get(dialog_spec.title || '@i18n:dialogs.add_title'); - dialog_spec.title = dialog_spec.title.replace('${entity}', label); + dialog_spec.title = text.get(dialog_spec.title || + '@i18n:dialogs.add_title_default'); dialog_spec.title = dialog_spec.title.replace('${pkey}', pkey);