Patch by Vincent Robert. git-svn-id: http://svn.redmine.org/redmine/trunk@14372 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/3.1.0
$('#all_attributes input, #all_attributes textarea, #all_attributes select').each(function(){ | $('#all_attributes input, #all_attributes textarea, #all_attributes select').each(function(){ | ||||
$(this).data('valuebeforeupdate', $(this).val()); | $(this).data('valuebeforeupdate', $(this).val()); | ||||
}); | }); | ||||
$.ajax({ | |||||
return $.ajax({ | |||||
url: url, | url: url, | ||||
type: 'post', | type: 'post', | ||||
data: $('#issue-form').serialize() | data: $('#issue-form').serialize() |