From fe21dad654d09da26a8ee9b9009f8d7b21ed2030 Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Wed, 8 Sep 2004 12:51:58 +0000
Subject: [PATCH] Renamed from base_update_dialog.py to
 Base_showUpdateDialog.py.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1532 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ERP5/skins/erp5_core/Base_showUpdateDialog.py  | 14 ++++++++++++++
 product/ERP5/skins/erp5_core/base_update_dialog.py |  7 -------
 2 files changed, 14 insertions(+), 7 deletions(-)
 create mode 100755 product/ERP5/skins/erp5_core/Base_showUpdateDialog.py
 delete mode 100755 product/ERP5/skins/erp5_core/base_update_dialog.py

diff --git a/product/ERP5/skins/erp5_core/Base_showUpdateDialog.py b/product/ERP5/skins/erp5_core/Base_showUpdateDialog.py
new file mode 100755
index 0000000000..f42a1edaf3
--- /dev/null
+++ b/product/ERP5/skins/erp5_core/Base_showUpdateDialog.py
@@ -0,0 +1,14 @@
+## Script (Python) "Base_showUpdateDialog"
+##bind container=container
+##bind context=context
+##bind namespace=
+##bind script=script
+##bind subpath=traverse_subpath
+##parameters=form_id,cancel_url,dialog_method,selection_name,dialog_id,update_method
+##title=
+##
+# This script is only used in order to add a third button on
+# dialog pages wich is only used for udpates
+
+dialog_method = update_method
+return context.Base_callDialogMethod(form_id,cancel_url,dialog_method,selection_name,dialog_id,enable_pickle=1)
diff --git a/product/ERP5/skins/erp5_core/base_update_dialog.py b/product/ERP5/skins/erp5_core/base_update_dialog.py
deleted file mode 100755
index 0f7cb9caa2..0000000000
--- a/product/ERP5/skins/erp5_core/base_update_dialog.py
+++ /dev/null
@@ -1,7 +0,0 @@
-##parameters=form_id,cancel_url,dialog_method,selection_name,dialog_id,update_method
-
-# This script is only used in order to add a third button on
-# dialog pages wich is only used for udpates
-
-dialog_method = update_method
-return context.base_dialog(form_id,cancel_url,dialog_method,selection_name,dialog_id,enable_pickle=1)
-- 
2.30.9