Rev 1349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1349 | Rev 1350 | ||
---|---|---|---|
Line 130... | Line 130... | ||
130 | if(startStatus == "") |
130 | if(startStatus == "") |
131 | startStatus = data.status; |
131 | startStatus = data.status; |
132 | 132 | ||
133 | if(data.progress >= 100 && startStatus != data.status) |
133 | if(data.progress >= 100 && startStatus != data.status) |
134 | { |
134 | { |
135 | if($("#<%=logid%>") && $("#<%=logid%>").closest('.task-log')) |
135 | if($("#<%=logid%>").closest('.task-log').length > 0) |
136 | window.location.href = $("#<%=logid%>").closest('.task-log').data("href"); |
136 | window.location.href = $("#<%=logid%>").closest('.task-log').data("href"); |
137 | } |
137 | } |
138 | }); |
138 | }); |
139 | 139 | ||
140 | } |
140 | } |