Allow to edit calendar comments
[infodrom.org/service.infodrom.org] / src / Infodrom / calendar / index.wml
index 558e86c..7c63676 100644 (file)
@@ -2,6 +2,7 @@
 
 <future>
 <page func="Infodrom Oldenburg" title="Termine">
+<script type="text/javascript" src="<root_prefix>jquery.editable.js"></script>
 
 <style type="text/css">
 @media only screen and (max-device-width: 400px) {
@@ -296,7 +297,10 @@ function show_log()
        logwindow.openPopup();
     }
 
-    $.invoke('Calendar_Item/Log', {id: $('div#menu').attr('dav_id')});
+    $.invoke('Calendar_Item/Log', {id: $('div#menu').attr('dav_id')}, function(data){
+       if (!is_mobile())
+           make_editable('div#log div.editable');
+    });
 }
 
 var commentwindow = false;