Sha256: d7baccf928ea3ce128797945b688a222d37636b4d27c76b88c0f41509f1d17e8

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redmine_extensions-0.1.15 spec/redmine/app/views/imports/run.js.erb