Make the updateIssueFrom(url) function return the XMLHttpRequest object (#20180).

Patch by Vincent Robert.

git-svn-id: http://svn.redmine.org/redmine/trunk@14372 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-06-27 06:50:25 +00:00
parent 58a8130394
commit 481f9117d7

View File

@@ -476,7 +476,7 @@ function updateIssueFrom(url) {
$('#all_attributes input, #all_attributes textarea, #all_attributes select').each(function(){
$(this).data('valuebeforeupdate', $(this).val());
});
$.ajax({
return $.ajax({
url: url,
type: 'post',
data: $('#issue-form').serialize()