Преглед на файлове

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 години
родител
ревизия
481f9117d7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      public/javascripts/application.js

+ 1
- 1
public/javascripts/application.js Целия файл

$('#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…
Отказ
Запис