You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve 'Declaration or statement expected' error in lang-datepicker.js caused by incorrect nesting of date string format parsing logic within the DateHelper.normalize method. The conditional blocks for handling YYYY-MM-DD format and the native Date parsing fallback were incorrectly nested inside the block checking for the ISO 'T' format. This commit adjusts the block structure to ensure all string parsing attempts occur sequentially within the main string type check, resolving the syntax error.
Copy file name to clipboardExpand all lines: calendar/calendar-tool/tool/src/java/org/sakaiproject/calendar/tool/CalendarActionState.java
-22
Original file line number
Diff line number
Diff line change
@@ -76,8 +76,6 @@ public class CalendarActionState
76
76
77
77
privateStringm_AttachmentFlag = "false";
78
78
privateLocalEventsavedData = newLocalEvent();
79
-
privatebooleanm_IsPastAlertOff = true;
80
-
81
79
82
80
privateStringm_state = "";
83
81
privateStringcurrentpage = "second";
@@ -213,16 +211,6 @@ public void setIsNewCalendar(boolean isNewcal)
213
211
214
212
} // setIsNewCalendar
215
213
216
-
/**
217
-
* Get the status of past alert off: true - no alert shown; false - alert shown
218
-
* @return IsPastAlertOff
219
-
*/
220
-
publicbooleangetIsPastAlertOff()
221
-
{
222
-
returnm_IsPastAlertOff;
223
-
224
-
} // getIsPastAlertOff
225
-
226
214
/**
227
215
* Gets the main calendar ID associated with the event list. Many calendars may be merged into this list, but there is only one one calendar that is used for adding/modifying events.
228
216
*/
@@ -231,16 +219,6 @@ public String getPrimaryCalendarReference()
231
219
returnm_primaryCalendarReference;
232
220
}
233
221
234
-
/**
235
-
* Set the status of past alert off: true - no alert shown; false - alert shown
236
-
* @param IsPastAlertOff The status of past alert off: true - no alert shown; false - alert shown
0 commit comments