mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01: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();
|
||||
|
||||
// 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