Fix a JS error if the progressbar is not active

pull/6827/head
Tim Felgentreff 14 years ago
parent a83eda5169
commit 143b73aea3
  1. 4
      assets/javascripts/reporting/progressbar.js

@ -4,7 +4,9 @@
Reporting.Progress = {
abort: function () {
window.progressbar.stop();
if (window.progressbar !== undefined && window.progressbar !== null) {
window.progressbar.stop();
}
},
replace_with_bar: function (element) {

Loading…
Cancel
Save