From 11ca7be29fbc4f77ab10ef573f27838168c8ca67 Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Thu, 27 Jan 2011 12:19:59 +0000
Subject: [PATCH] add code to pass the title of event in the request

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42702 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml | 2 ++
 bt5/erp5_jquery_plugin_wdcalendar/bt/revision                   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml b/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml
index 2e5c5cd633..113acefdc7 100644
--- a/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml
+++ b/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml
@@ -1726,6 +1726,7 @@
                 }\n
                 option.isloading = true;\n
                 var id = data[0];\n
+                var title = data[1];\n
                 var os = data[2];\n
                 var od = data[3];\n
                 var zone = new Date().getTimezoneOffset() / 60 * -1;\n
@@ -1733,6 +1734,7 @@
               { "name": "CalendarStartTime", value: dateFormat.call(start, i18n.xgcalendar.dateformat.fulldayvalue + " HH:mm") },\n
               { "name": "CalendarEndTime", value: dateFormat.call(end, i18n.xgcalendar.dateformat.fulldayvalue + " HH:mm") },\n
               { "name": "timezone", value: zone },\n
+              { "name": "title", value: title },\n
                ];\n
                 var d;\n
                 if (option.quickUpdateHandler && $.isFunction(option.quickUpdateHandler)) {\n
diff --git a/bt5/erp5_jquery_plugin_wdcalendar/bt/revision b/bt5/erp5_jquery_plugin_wdcalendar/bt/revision
index 62f9457511..c7930257df 100644
--- a/bt5/erp5_jquery_plugin_wdcalendar/bt/revision
+++ b/bt5/erp5_jquery_plugin_wdcalendar/bt/revision
@@ -1 +1 @@
-6
\ No newline at end of file
+7
\ No newline at end of file
-- 
2.30.9