From 95ea68a2175cc1bec0dbb901311e40f55b692c42 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 6 Dec 2010 13:51:49 -0600 Subject: Column i18n The ipa_column has been modified to get the label from metadata during initialization. The ipa_table_widget has been modified to initialize the columns. Hard-coded labels have been removed from column declarations. The ipa_adder_dialog has been modified to execute a search at the end of setup. --- install/static/host.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'install/static/host.js') diff --git a/install/static/host.js b/install/static/host.js index d9a2dfe0..56e3eb30 100644 --- a/install/static/host.js +++ b/install/static/host.js @@ -426,7 +426,6 @@ function ipa_host_managedby_host_facet(spec) { var column = that.create_column({ name: 'fqdn', - label: 'Name', primary_key: true }); @@ -451,18 +450,16 @@ function ipa_host_managedby_host_facet(spec) { }).appendTo(container); }; - that.create_column({name: 'description', label: 'Description'}); + that.create_column({name: 'description'}); that.create_adder_column({ name: 'fqdn', - label: 'Name', primary_key: true, width: '100px' }); that.create_adder_column({ name: 'description', - label: 'Description', width: '100px' }); -- cgit