From 4da6b3a3916ce4d986275a1f7f90e7fb0984b822 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Wed, 13 Jun 2012 09:05:00 +0200 Subject: [PATCH] Calendar: Make button of #datecontrol_date --- apps/calendar/js/calendar.js | 2 +- apps/calendar/templates/calendar.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index 7ae4a3a6eb1..0d44722abb8 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -845,7 +845,7 @@ $(document).ready(function(){ dayNamesShort: dayNamesShort, allDayText: allDayText, viewDisplay: function(view) { - $('#datecontrol_date').html(view.title); + $('#datecontrol_date').val(view.title); if (view.name != defaultView) { $.post(OC.filePath('calendar', 'ajax', 'changeview.php'), {v:view.name}); defaultView = view.name; diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php index b0cb20f2f15..2246a0178e3 100644 --- a/apps/calendar/templates/calendar.php +++ b/apps/calendar/templates/calendar.php @@ -46,7 +46,7 @@
- +
-- 2.39.5