Commit a41caf61 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix for Please Select option.

parent 5fc0687b
......@@ -28,7 +28,12 @@ function(_) {
fed++;
}
else {
federated.before('<li class="enabled native"><a href="#" value="'+$(this).attr('value')+'">'+$(this).attr('value')+'</a></li>');
var optvalue = $(this).attr('value');
// Look for Please Select option
if (optvalue == "") {
optvalue = $(this).text();
}
federated.before('<li class="enabled native"><a href="#" value="'+optvalue+'">'+optvalue+'</a></li>');
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment