mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
Calendar: disable scrolling on year/month in sidemenu calendar
This commit is contained in:
parent
e4ef392d11
commit
1ed3306ac5
@ -109,6 +109,16 @@ export class SidemenuDate extends Et2Date
|
|||||||
{
|
{
|
||||||
let options = super.getOptions();
|
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.allowInput = false;
|
||||||
options.inline = true;
|
options.inline = true;
|
||||||
options.dateFormat = "Y-m-dT00:00:00\\Z";
|
options.dateFormat = "Y-m-dT00:00:00\\Z";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user