when adding an event, set focus to its name input field
This commit is contained in:
parent
db25eec98b
commit
c7d268a7aa
3 changed files with 19 additions and 6 deletions
|
@ -111,13 +111,19 @@ Calendar
|
|||
.OxThemeClassic .OxCalendar .OxLine > .OxEvent {
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
.OxThemeClassic .OxCalendar .OxLine > .OxEvent.OxSelected {
|
||||
box-shadow: inset 0 0 1px rgb(0, 0, 0),
|
||||
inset 0 0 1px rgb(0, 0, 0),
|
||||
inset 0 0 1px rgb(0, 0, 0),
|
||||
inset 0 0 1px rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.OxThemeClassic .OxCalendar .OxOverlay div:nth-child(even) {
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.5);
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
|
||||
background-color: rgba(0, 0, 0, 0.25);
|
||||
box-shadow: inset 0 0 2px rgb(0, 0, 0);
|
||||
}
|
||||
.OxThemeClassic .OxCalendar .OxOverlay div:nth-child(odd) {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
background-color: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -110,13 +110,19 @@ Calendar
|
|||
.OxThemeModern .OxCalendar .OxLine > .OxEvent {
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
.OxThemeModern .OxCalendar .OxLine > .OxEvent.OxSelected {
|
||||
box-shadow: inset 0 0 1px rgb(255, 255, 255),
|
||||
inset 0 0 1px rgb(255, 255, 255),
|
||||
inset 0 0 1px rgb(255, 255, 255),
|
||||
inset 0 0 1px rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.OxThemeModern .OxCalendar .OxOverlay div:nth-child(even) {
|
||||
border-top: 1px solid rgba(255, 255, 255, 0.5);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
|
||||
background-color: rgba(255, 255, 255, 0.25);
|
||||
box-shadow: inset 0 0 2px rgb(255, 255, 255);
|
||||
}
|
||||
.OxThemeModern .OxCalendar .OxOverlay div:nth-child(odd) {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
background-color: rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -482,6 +482,7 @@ Ox.ListCalendar = function(options, self) {
|
|||
Ox.print('TIME TO SET LIST OPTIONS:', +new Date() - time0);
|
||||
self.$calendar.addEvent(event);
|
||||
selectEvent(event);
|
||||
self.$nameInput.focusInput();
|
||||
} else {
|
||||
alert(result.status.code)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue