mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
Calendar: disable scrolling on year/month in sidemenu calendar
This commit is contained in:
parent
39848c7efe
commit
1911f73884
@ -109,6 +109,16 @@ export class SidemenuDate extends Et2Date
|
||||
{
|
||||
let options = super.getOptions();
|
||||
|
||||
// No scroll - remove scroll plugin
|
||||
options.plugins = [];
|
||||
|
||||
// Add "Ok" and "today" buttons back in, if desired
|
||||
const buttons = this._buttonPlugin();
|
||||
if(buttons)
|
||||
{
|
||||
options.plugins.push(buttons)
|
||||
}
|
||||
|
||||
options.allowInput = false;
|
||||
options.inline = true;
|
||||
options.dateFormat = "Y-m-dT00:00:00\\Z";
|
||||
|
Loading…
Reference in New Issue
Block a user