CalendarPanel.java (apache-openmeetings-6.1.0-src) | : | CalendarPanel.java (apache-openmeetings-6.2.0-src) | ||
---|---|---|---|---|
skipping to change at line 126 | skipping to change at line 126 | |||
public CalendarPanel(String id) { | public CalendarPanel(String id) { | |||
super(id); | super(id); | |||
} | } | |||
@Override | @Override | |||
protected void onInitialize() { | protected void onInitialize() { | |||
final Form<Date> form = new Form<>("form"); | final Form<Date> form = new Form<>("form"); | |||
add(form); | add(form); | |||
dialog = new AppointmentDialog("appointment", this, new CompoundP ropertyModel<>(getDefault())); | dialog = new AppointmentDialog("calendarAppointment", this, new C ompoundPropertyModel<>(getDefault())); | |||
add(dialog); | add(dialog); | |||
boolean isRtl = isRtl(); | boolean isRtl = isRtl(); | |||
Options options = new Options(); | Options options = new Options(); | |||
options.set("isRTL", isRtl); | options.set("isRTL", isRtl); | |||
options.set("height", Options.asString("parent")); | options.set("height", Options.asString("parent")); | |||
options.set("customButtons", "{gotoBtn: {text: ' ', click: onOmGo toClick}}"); | options.set("customButtons", "{gotoBtn: {text: ' ', click: onOmGo toClick}}"); | |||
options.set("header", isRtl ? "{left: 'agendaDay,agendaWeek,month ', center: 'title', right: 'gotoBtn,today nextYear,next,prev,prevYear'}" | options.set("header", isRtl ? "{left: 'agendaDay,agendaWeek,month ', center: 'title', right: 'gotoBtn,today nextYear,next,prev,prevYear'}" | |||
: "{left: 'prevYear,prev,next,nextYear today,goto Btn', center: 'title', right: 'month,agendaWeek,agendaDay'}"); | : "{left: 'prevYear,prev,next,nextYear today,goto Btn', center: 'title', right: 'month,agendaWeek,agendaDay'}"); | |||
options.set("allDaySlot", false); | options.set("allDaySlot", false); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |