[Bug #1321] Reseting highlighted days in calendar to prevent issue
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
3c5c14d728
commit
e499ec4652
2 changed files with 10 additions and 0 deletions
|
|
@ -537,6 +537,8 @@ public abstract class BaseCalendarEditionController extends
|
|||
public void highlightDaysOnCalendar() {
|
||||
Calendar calendar = (Calendar) window.getFellow("calendarWidget");
|
||||
|
||||
Clients.response(new AuInvoke(calendar, "resetHighlightedDates"));
|
||||
|
||||
Map<String, List<Integer>> daysByColor = getDaysCurrentMonthByColor();
|
||||
for (String color : daysByColor.keySet()) {
|
||||
Clients.response(new AuInvoke(calendar, "highlightDates",
|
||||
|
|
|
|||
|
|
@ -81,6 +81,14 @@
|
|||
});
|
||||
}
|
||||
</attribute>
|
||||
<attribute w:name="resetHighlightedDates">
|
||||
function () {
|
||||
var nodes = $('td', this).not('.z-outside');
|
||||
nodes.each(function () {
|
||||
$(this).css({color: "black", backgroundColor: "white"});
|
||||
});
|
||||
}
|
||||
</attribute>
|
||||
</calendar>
|
||||
|
||||
<grid width="180px" sclass="day-details">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue