##// END OF EJS Templates
Merged r15536 and r15541 (#23083)....
Merged r15536 and r15541 (#23083). git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15560 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14111:035edd39c422
r15178:1f79610fdc05
Show More
run.js.erb
11 lines | 339 B | text/plain | TextLexer
$('#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 %>