Browse Source

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
tags/3.1.0
Jean-Philippe Lang 9 years ago
parent
commit
481f9117d7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      public/javascripts/application.js

+ 1
- 1
public/javascripts/application.js View File

$('#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()

Loading…
Cancel
Save