summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-27 06:50:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-27 06:50:25 +0000
commit481f9117d7f0064e6a7cdb5f6e53ae316adfd54b (patch)
tree9328801decb8f58f4649f288b8f793bede0c0e0b /public
parent58a8130394e17bba798d175f10eadb654065af64 (diff)
downloadredmine-481f9117d7f0064e6a7cdb5f6e53ae316adfd54b.tar.gz
redmine-481f9117d7f0064e6a7cdb5f6e53ae316adfd54b.zip
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
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 0fe2c4cd6..bc56f43b2 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -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()