mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
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:
@@ -476,7 +476,7 @@ function updateIssueFrom(url) {
|
|||||||
$('#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()
|
||||||
|
|||||||
Reference in New Issue
Block a user