Commit 6df3d01d authored by Gabriel Monnerat's avatar Gabriel Monnerat

refactor to call the save button instead of only refresh the page

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41410 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3db50b00
......@@ -175,7 +175,8 @@ $(document).ready(function(){\n
setObjectPropertyValue("setLanguage", new_language, "language");\n
setObjectPropertyValue("setVersion", new_version, "value");\n
setObjectPropertyValue("setIntIndex", new_int_index, "value");\n
location.reload();\n
$("#edit_document").dialog("close");\n
$("button.save").click();\n
},\n
Cancel: function() {\n
$(this).dialog("close");\n
......
121
\ No newline at end of file
122
\ 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