Fix bug.
This commit is contained in:
parent
a3f6657dfc
commit
f4c48ddf72
|
@ -119,7 +119,7 @@
|
|||
var finish_percent = data["finish_percent"];
|
||||
var current_count = data["current_count"];
|
||||
var all_count = data["all_count"];
|
||||
var is_finish = (data["status"] == "finish" || data["status"] == "error");
|
||||
var is_finish = ((data["status"] == "finish" && data["filename"]) || data["status"] == "error");
|
||||
var info = data["info"]
|
||||
if(finish_percent){
|
||||
$("#threadModal .modal-body .thread-status").text(data["status"]);
|
||||
|
|
Loading…
Reference in New Issue