[Erp5-report] r42880 gabriel - in /erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar: PathTempla...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 1 10:32:33 CET 2011


Author: gabriel
Date: Tue Feb  1 10:32:33 2011
New Revision: 42880

URL: http://svn.erp5.org?rev=42880&view=rev
Log:
extend code to make possible add fields on edit dialog. This patch was send to wdcalendar developers

Modified:
    erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml
    erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/bt/revision

Modified: erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml?rev=42880&r1=42879&r2=42880&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/PathTemplateItem/portal_skins/erp5_jquery/jquery/plugin/wdcalendar/jquery.calendar.js.xml [utf8] Tue Feb  1 10:32:33 2011
@@ -1791,7 +1791,11 @@
                 temparr.push(\'<table class="cb-table" cellSpacing="0" cellPadding="0"><tbody><tr><th class="cb-key">\');\n
                 temparr.push(i18n.xgcalendar.time, \':</th><td class=cb-value><div id="bbit-cal-buddle-timeshow"></div></td></tr><tr><th class="cb-key">\');\n
                 temparr.push(i18n.xgcalendar.content, \':</th><td class="cb-value"><div class="textbox-fill-wrapper"><div class="textbox-fill-mid"><input id="bbit-cal-what" class="textbox-fill-input"/></div></div><div class="cb-example">\');\n
-                temparr.push(i18n.xgcalendar.example, \'</div></td></tr></tbody></table><input id="bbit-cal-start" type="hidden"/><input id="bbit-cal-end" type="hidden"/><input id="bbit-cal-allday" type="hidden"/><input id="bbit-cal-quickAddBTN" value="\');\n
+                temparr.push(i18n.xgcalendar.example, \'</div></td></tr>\');\n
+                if (option.loadFieldOnDialog && $.isFunction(option.loadFieldOnDialog)){\n
+                  temparr.push("<tr>", option.loadFieldOnDialog(), "</tr>");\n
+                }\n
+                temparr.push(\'</tbody></table><input id="bbit-cal-start" type="hidden"/><input id="bbit-cal-end" type="hidden"/><input id="bbit-cal-allday" type="hidden"/><input id="bbit-cal-quickAddBTN" value="\');\n
                 temparr.push(i18n.xgcalendar.create_event, \'" type="button"/>&nbsp; <SPAN id="bbit-cal-editLink" class="lk">\');\n
                 temparr.push(i18n.xgcalendar.update_detail, \' <StrONG>&gt;&gt;</StrONG></SPAN></div></div></div><tr><td><div id="bl1" class="bubble-corner"><div class="bubble-sprite bubble-bl"></div></div><td><div class="bubble-bottom"></div><td><div id="br1" class="bubble-corner"><div class="bubble-sprite bubble-br"></div></div></tr></tbody></table><div id="bubbleClose1" class="bubble-closebutton"></div><div id="prong2" class="prong"><div class=bubble-sprite></div></div></div>\');\n
                 var tempquickAddHanler = temparr.join("");\n

Modified: erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/bt/revision?rev=42880&r1=42879&r2=42880&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_jquery_plugin_wdcalendar/bt/revision [utf8] Tue Feb  1 10:32:33 2011
@@ -1 +1 @@
-11
\ No newline at end of file
+12
\ No newline at end of file



More information about the Erp5-report mailing list