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(_) { ...@@ -28,7 +28,12 @@ function(_) {
fed++; fed++;
} }
else { 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>');
} }
} }
}); });
...@@ -154,4 +159,4 @@ function(_) { ...@@ -154,4 +159,4 @@ function(_) {
StatsLineHTML StatsLineHTML
}; };
} }
); );
\ No newline at end of file
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