summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 8680086ec..ba02a8440 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -358,7 +358,7 @@ IPA.text_widget = function(spec) {
} else {
var input = $('input[name="'+that.name+'"]', that.container);
- var value = $.trim(input.val());
+ var value = input.val();
return value === '' ? [] : [value];
}
};
@@ -477,7 +477,7 @@ IPA.multivalued_text_widget = function(spec) {
if (that.read_only || !that.writable) {
$('label[name="'+that.name+'"]', that.container).each(function() {
var input = $(this);
- var value = $.trim(input.html());
+ var value = input.html();
values.push(value);
});
@@ -486,7 +486,7 @@ IPA.multivalued_text_widget = function(spec) {
var input = $(this);
if (input.is('.strikethrough')) return;
- var value = $.trim(input.val());
+ var value = input.val();
values.push(value);
});
}
@@ -1482,4 +1482,4 @@ IPA.entity_select_widget = function(spec) {
};
return that;
-}; \ No newline at end of file
+};