Skip to content

Commit

Permalink
Removed empty space from colors selector on Notes dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
k-joseph committed Aug 19, 2015
1 parent e65c397 commit f0dc9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omod/src/main/webapp/fragments/searchSavingSection.gsp
Expand Up @@ -692,7 +692,7 @@
function addPersonalColorsToSelectColorElement() { function addPersonalColorsToSelectColorElement() {
if(pColors !== undefined && pColors !== "null") { if(pColors !== undefined && pColors !== "null") {
for(i = 0; i < pColors.length; i++) { for(i = 0; i < pColors.length; i++) {
if(pColors[i] !== null) { if(pColors[i] !== null && pColors[i] !== "") {
jq("#new-note-color").append("<option>" + pColors[i] + "</option>"); jq("#new-note-color").append("<option>" + pColors[i] + "</option>");
} }
} }
Expand Down

0 comments on commit f0dc9d8

Please sign in to comment.