Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
11
app/views/imports/run.js.erb
Normal file
11
app/views/imports/run.js.erb
Normal file
|
@ -0,0 +1,11 @@
|
|||
$('#import-progress').progressbar({value: <%= @current.to_i %>});
|
||||
$('#progress-label').text("<%= @current.to_i %> / <%= @import.total_items.to_i %>");
|
||||
|
||||
<% if @import.finished? %>
|
||||
window.location.href='<%= import_path(@import) %>';
|
||||
<% else %>
|
||||
$.ajax({
|
||||
url: '<%= import_run_path(@import, :format => 'js') %>',
|
||||
type: 'post'
|
||||
});
|
||||
<% end %>
|
Loading…
Add table
Add a link
Reference in a new issue