mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed problem when attributes_widget was displaying empty option
Attribute table was modified to skip creation of option for empty value. https://fedorahosted.org/freeipa/ticket/2291
This commit is contained in:
committed by
Endi S. Dewata
parent
9942a29cab
commit
a11f1bb2c2
@@ -487,7 +487,12 @@ IPA.attributes_widget = function(spec) {
|
||||
|
||||
values = values || [];
|
||||
for (var i=0; i<values.length; i++) {
|
||||
var value = values[i].toLowerCase();
|
||||
|
||||
var value = values[i];
|
||||
|
||||
if (!value || value === '') continue;
|
||||
|
||||
value = value.toLowerCase();
|
||||
that.values.push(value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user