Skip to content

Commit

Permalink
fixed bug #2062 priority shows prio_null
Browse files Browse the repository at this point in the history
When looking at a priority from a calendar where you don't have enough
rights.
In this case simply do not show anything in the field.
  • Loading branch information
lcharland committed Oct 23, 2012
1 parent ee712d2 commit 8a9336c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion UI/WebServerResources/SchedulerUI.js
Expand Up @@ -1075,7 +1075,12 @@ function tasksListCallback(http) {

cell = createElement("td");
row.appendChild(cell);
cell.update(_("prio_" + data[i][11])); // Priority
if (data[i][11] != null) {
cell.update(_("prio_" + data[i][11])); // Priority
}
else {
cell.update(""); // Priority
}

cell = createElement("td");
row.appendChild(cell);
Expand Down

0 comments on commit 8a9336c

Please sign in to comment.