Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #567 from 40huo/fix-url-redirect
Browse files Browse the repository at this point in the history
fix url redirect bug
  • Loading branch information
FeeiCN authored Sep 8, 2017
2 parents e88ba4b + 947e210 commit e413e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobra/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ <h4><span>Drag and drop</span> upload</h4>
if (result.code === 1001) {
if (result.result.status === 'done') {
$('.tab-content').plainOverlay('hide');
window.location.href = window.location + result.result.report;
window.location = result.result['report'];
process_bar.css('width', '0%');
} else {
setTimeout(get_status, 3000);
Expand Down

0 comments on commit e413e4a

Please sign in to comment.