diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
index e4250b36a75649218243edaa05dd991662a68739..559616e97b551999479ac0fbf996343f3715a5b6 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
@@ -59,7 +59,7 @@
               show_select_column here/showSelectColumn;\n
               show_anchor_column here/showAnchorColumn;\n
               show_search_line here/showSearchLine;\n
-              list_style    python: request.get(\'list_style\') or selection.params.get(\'list_style\', \'table\');\n
+              list_style resuest/list_style | nothing;\n
               is_web_mode request/is_web_mode | nothing;\n
               is_gadget_mode request/is_gadget_mode | nothing;">\n
   <!-- ListBox starts here.  -->\n
@@ -142,13 +142,10 @@
   <tal:block tal:condition="python: list_style == \'search\'">\n
     <span metal:use-macro="real_context/ListBox_asSearchStyleHTML/macros/main"/>\n
   </tal:block>\n
-  <tal:block tal:condition="python: is_web_mode or is_gadget_mode">\n
-    <tal:block tal:condition="python: list_style == \'table\'">\n
-      <span metal:use-macro="real_context/ListBox_asTableStyleHTML/macros/main"/>\n
-    </tal:block>\n
+  <tal:block tal:condition="python: is_web_mode and list_style != \'table\'">\n
+    <span metal:use-macro="real_context/ListBox_asTableStyleHTML/macros/main"/>\n
   </tal:block>\n
-  <tal:block tal:condition="python: not is_web_mode and not is_gadget_mode and\n
-  not list_style == \'search\'">\n
+  <tal:block tal:condition="python: not is_web_mode and list_style != \'search\'">\n
     <span metal:use-macro="real_context/ListBox_asStandardHTML/macros/main"/>\n
   </tal:block>\n
 </tal:block>\n
diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
index 0fce07d0e34eb4c36d27c5eb87a2d7d3bcdec849..849eaf846afa36e3886600eca759f81d637bd064 100644
--- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
@@ -1 +1 @@
-721
\ No newline at end of file
+722
\ No newline at end of file