summaryrefslogtreecommitdiffstats
path: root/install/static/details.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-12-21 15:14:08 -0500
committerRob Crittenden <rcritten@redhat.com>2010-12-22 12:48:26 -0500
commit82b03ddfc16164a13bf1ffc531255496e8b72e25 (patch)
tree4519b78b6e5eb8f47a4320f7416d3f2b04553da6 /install/static/details.js
parent5747568e5dfd5898c35beb89024df7a7068730e8 (diff)
downloadfreeipa.git-82b03ddfc16164a13bf1ffc531255496e8b72e25.tar.gz
freeipa.git-82b03ddfc16164a13bf1ffc531255496e8b72e25.tar.xz
freeipa.git-82b03ddfc16164a13bf1ffc531255496e8b72e25.zip
hidden filter
The filter field on aci add is hidden, and prefilled with an object class that doesn't exist. Fixed the error where the other fields were removed
Diffstat (limited to 'install/static/details.js')
-rw-r--r--install/static/details.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/install/static/details.js b/install/static/details.js
index 1aeffb1d..1e510692 100644
--- a/install/static/details.js
+++ b/install/static/details.js
@@ -332,12 +332,14 @@ function ipa_details_list_section(spec){
var field = fields[i];
var label = field.label;
-
+ if (label !== ''){
+ label += ':';
+ }
var param_info = ipa_get_param_info(that.entity_name, field.name);
if (param_info && param_info['label']) label = param_info['label'];
$('<dt/>', {
- html: label + ':'
+ html: label
}).appendTo(dl);
var span = $('<span/>', { 'name': field.name }).appendTo(dl);