Skip to content

Instantly share code, notes, and snippets.

View georgehrke's full-sized avatar

Georg Ehrke georgehrke

  • London
View GitHub Profile
@georgehrke
georgehrke / dayview.diff
Created July 31, 2013 15:46
Patch, that replaces list view with day view (It also disables scrolling, because scrolling makes day view unusable)
diff --git a/ajax/changeview.php b/ajax/changeview.php
index bcd84a1..e3df411 100644
--- a/ajax/changeview.php
+++ b/ajax/changeview.php
@@ -12,11 +12,11 @@ $view = $_POST['v'];
switch($view) {
case 'agendaWeek':
case 'month';
- case 'list':
+ case 'agendaDay':