From ea816c9d1aed3b988f33bd00dcbcb5e354a3e3d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Thu, 18 Nov 2010 15:18:13 +0000
Subject: [PATCH]  - clear cache after playing with preferences

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40383 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_ui_test/ListBoxZuite_reset.xml            | 2 ++
 bt5/erp5_ui_test/bt/revision                                    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml
index 3e8218fa79..2414cef0b5 100644
--- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml
+++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/ListBoxZuite_reset.xml
@@ -112,6 +112,8 @@ pref.setPreferredListboxViewModeLineCount(None)\n
 pref.setPreferredListboxListModeLineCount(10)\n
 if pref.getPreferenceState() == \'disabled\':\n
   pref.enable()\n
+else:\n
+  context.portal_caches.clearAllCache()\n
 \n
 return \'Reset Successfully.\'\n
 </string> </value>
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index 24c5507b23..dc9e6b20e2 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-633
\ No newline at end of file
+634
\ No newline at end of file
-- 
2.30.9