Commit 5ce70844 authored by Nicolas Dumazet's avatar Nicolas Dumazet

2010-08-18

* Also inhibit button.save (usual disk image on views) so that saving a view updates inside the dialog

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37876 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 07d5634a
......@@ -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
......
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.
......
12
\ No newline at end of file
15
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment