[Erp5-report] r6802 - /erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 19 15:08:17 CEST 2006
Author: chris
Date: Wed Apr 19 15:08:14 2006
New Revision: 6802
URL: http://svn.erp5.org?rev=6802&view=rev
Log:
- bug fix when no checkbox is checked
Modified:
erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnMultiDiff.xml
Modified: erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnMultiDiff.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnMultiDiff.xml?rev=6802&r1=6801&r2=6802&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnMultiDiff.xml (original)
+++ erp5/trunk/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_svn/BusinessTemplate_doSvnMultiDiff.xml Wed Apr 19 15:08:14 2006
@@ -68,8 +68,13 @@
<key> <string>_body</string> </key>
<value> <string encoding="cdata"><![CDATA[
+file = context.REQUEST[\'file\']\n
+\n
+if \'uids\' not in context.REQUEST.keys(): \n
+ context.REQUEST.set(\'portal_status_message\', \'You must select only TWO revisions!\')\n
+ return context.asContext(file=file).BusinessTemplate_viewSvnLog()\n
+\n
revisions_list = context.REQUEST[\'uids\']\n
-file = context.REQUEST[\'file\']\n
\n
if len(revisions_list) != 2:\n
context.REQUEST.set(\'portal_status_message\', \'You must select only TWO revisions!\')\n
@@ -135,8 +140,8 @@
<string>_getitem_</string>
<string>_getattr_</string>
<string>context</string>
+ <string>file</string>
<string>revisions_list</string>
- <string>file</string>
<string>len</string>
<string>svn_path</string>
</tuple>
More information about the Erp5-report
mailing list