From f9007d263968a16e71c319fbe6a982a3dcf71dff Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida <leonardo@nexedi.com> Date: Wed, 5 May 2010 05:37:47 +0000 Subject: [PATCH] disable 'unsaved form warning' for functional tests git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34994 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_ui_test/BTZuite_setPreference.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/BTZuite_setPreference.xml b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/BTZuite_setPreference.xml index 40897e29b3..fd01aa314d 100644 --- a/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/BTZuite_setPreference.xml +++ b/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/BTZuite_setPreference.xml @@ -63,6 +63,7 @@ pref = getattr(context.portal_preferences, "erp5_ui_test_preference", None)\n if pref is None:\n pref = context.portal_preferences.newContent(id="erp5_ui_test_preference", portal_type="Preference")\n pref.setPreferredSubversionWorkingCopyList(tuple(working_copy_list.split(\',\')))\n +pref.setPreferredHtmlStyleUnsavedFormWarning(False)\n if pref.getPreferenceState() == \'disabled\':\n pref.enable()\n \n @@ -110,6 +111,7 @@ return \'Set Preference Successfully.\'\n <string>None</string> <string>pref</string> <string>tuple</string> + <string>False</string> </tuple> </value> </item> diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision index 51f1d23291..2bf5aee89b 100644 --- a/bt5/erp5_ui_test/bt/revision +++ b/bt5/erp5_ui_test/bt/revision @@ -1 +1 @@ -566 \ No newline at end of file +567 \ No newline at end of file -- 2.30.9