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 cfb51d75e6d3f6a22f6a4bc554e2db4359d1bdfb..d05d918df00c943f1f9388c92592fcf30b14adb8 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 @@ -133,7 +133,7 @@ $(function() {\n // Insert the same buttons as at the bottom into near the top.\n $(\'div.bottom_actions\', dialog).clone().insertAfter($(\'div.dialog_box\', dialog)).css(\'margin-bottom\', \'1em\');\n \n - $(\'input[type="image"], button.sort_button, .dialog_selector > button\', dialog).click(function(event) {\n + $(\'input[type="image"], button.sort_button, .dialog_selector > button, button.save\', dialog).click(function(event) {\n event.preventDefault();\n var self = $(this);\n var form = $(\'form.main_form\', dialog);\n diff --git a/bt5/erp5_popup_ui/bt/change_log b/bt5/erp5_popup_ui/bt/change_log index 681b180c30cef6d35c649eac89bbbc38ed40bbb1..67ee7881af6945b476c546adf0de8fa205f7ed6d 100644 --- a/bt5/erp5_popup_ui/bt/change_log +++ b/bt5/erp5_popup_ui/bt/change_log @@ -1,5 +1,6 @@ 2010-08-18 * Refactor/simplify in order to extend jQuery with a erp5_popup function that can be re-used in other scripts/projects. +* Also inhibit button.save (usual disk image on views) so that saving a view updates inside the dialog 2010-07-01 yo * Fix a bug that scripts in every fetched document may be executed. Otherwise, ready callbacks can be executed many times. diff --git a/bt5/erp5_popup_ui/bt/revision b/bt5/erp5_popup_ui/bt/revision index 3cacc0b93c9c9c03a72da624ca28a09ba5c1336f..3f10ffe7a4c473619c926cfb1e8d95e726e5a0ec 100644 --- a/bt5/erp5_popup_ui/bt/revision +++ b/bt5/erp5_popup_ui/bt/revision @@ -1 +1 @@ -12 \ No newline at end of file +15 \ No newline at end of file