From c1cb6e3398cf3f68e25d375f1e2dce1830fc95f4 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Tue, 11 Apr 2017 10:21:17 +0200 Subject: [PATCH 1/4] Calendar: Use widget extension to render year and month select --- demos/calendar/dropdown-month-year.html | 71 +++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 4 deletions(-) diff --git a/demos/calendar/dropdown-month-year.html b/demos/calendar/dropdown-month-year.html index 92b7e24fb60..e9571343f01 100644 --- a/demos/calendar/dropdown-month-year.html +++ b/demos/calendar/dropdown-month-year.html @@ -8,10 +8,73 @@ @@ -19,7 +82,7 @@
-

Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean changeMonth and changeYear options.

+

Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes.

From 5ee64dd0e0743643f3e314d898b45669b4db0a49 Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Wed, 12 Apr 2017 22:47:27 +0200 Subject: [PATCH 2/4] Calendar: Introduce build methods for year and month title --- demos/calendar/dropdown-month-year.html | 18 ++---------------- ui/widgets/calendar.js | 12 ++++++++++-- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/demos/calendar/dropdown-month-year.html b/demos/calendar/dropdown-month-year.html index e9571343f01..e1c03630ddb 100644 --- a/demos/calendar/dropdown-month-year.html +++ b/demos/calendar/dropdown-month-year.html @@ -9,21 +9,7 @@