[Erp5-report] r29427 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 6 14:59:09 CEST 2009


Author: nicolas
Date: Tue Oct  6 14:59:09 2009
New Revision: 29427

URL: http://svn.erp5.org?rev=29427&view=rev
Log:
handle case when selection_name is not stored on request

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml?rev=29427&r1=29426&r2=29427&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] Tue Oct  6 14:59:09 2009
@@ -211,7 +211,7 @@
               <span class="image"></span>\n
               <span class="description" i18n:translate="" i18n:domain="ui">Previous</span>\n
             </a>\n
-            <a class="list_mode" title="List Mode" tal:attributes="href python: here.portal_selections.getSelectionListUrlFor(request[\'selection_name\'])"\n
+            <a class="list_mode" title="List Mode" tal:attributes="href python: here.portal_selections.getSelectionListUrlFor(request.get(\'selection_name\', None))"\n
                i18n:attributes="title" i18n:domain="ui">\n
               <span class="image"></span>\n
               <span class="description" i18n:translate="" i18n:domain="ui">List Mode</span>\n
@@ -244,7 +244,7 @@
             <span class="description" i18n:translate="" i18n:domain="ui">Show All</span>\n
           </button>\n
           <button type="submit" name="Folder_filter:method" title="Filter"\n
-                  tal:attributes="class python: here.portal_selections.getSelectionInvertModeFor(request[\'selection_name\']) and \'filter_on\' or \'filter\';"\n
+                  tal:attributes="class python: here.portal_selections.getSelectionInvertModeFor(request.get(\'selection_name\', None)) and \'filter_on\' or \'filter\';"\n
                   i18n:attributes="title" i18n:domain="ui">\n
             <span class="image"></span>\n
             <span class="description" i18n:translate="" i18n:domain="ui">Filter</span>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=29427&r1=29426&r2=29427&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Tue Oct  6 14:59:09 2009
@@ -1,1 +1,1 @@
-836
+837




More information about the Erp5-report mailing list