From 8281756562bd546cbf7355bf18468676eb0db618 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Mon, 8 Feb 2010 14:10:31 +0000 Subject: [PATCH] 2010-02-07 yo * Fix a mistake that "destroy" was not used correctly. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32316 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_popup_ui/erp5_popup.js.xml | 2 +- bt5/erp5_popup_ui/bt/change_log | 3 +++ bt5/erp5_popup_ui/bt/revision | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml b/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml index 08b1acf0f0..f080271ec2 100644 --- a/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml +++ b/bt5/erp5_popup_ui/SkinTemplateItem/portal_skins/erp5_popup_ui/erp5_popup.js.xml @@ -168,7 +168,7 @@ jQuery(function() {\n // Make sure that the dialog is present, and it is empty.\n if (dialog != null) {\n dialog.empty();\n - dialog.destory();\n + dialog.dialog(\'destroy\');\n }\n dialog = jQuery(\'<div id="dialog" />\').appendTo(\'body\');\n dialog.dialog({ modal: true,\n diff --git a/bt5/erp5_popup_ui/bt/change_log b/bt5/erp5_popup_ui/bt/change_log index 2407422333..531bead281 100644 --- a/bt5/erp5_popup_ui/bt/change_log +++ b/bt5/erp5_popup_ui/bt/change_log @@ -1,3 +1,6 @@ +2010-02-07 yo +* Fix a mistake that "destroy" was not used correctly. + 2010-02-07 yo * Customize the jQuery UI theme for ERP5. diff --git a/bt5/erp5_popup_ui/bt/revision b/bt5/erp5_popup_ui/bt/revision index e440e5c842..bf0d87ab1b 100644 --- a/bt5/erp5_popup_ui/bt/revision +++ b/bt5/erp5_popup_ui/bt/revision @@ -1 +1 @@ -3 \ No newline at end of file +4 \ No newline at end of file -- 2.30.9