Skip to content

Commit

Permalink
修复单行SQL的工单无法停止OSC进程的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
liujing committed Jul 22, 2017
1 parent f2cae1d commit f1d90ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/static/user/js/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function get_pct(wid, sqlNum){
}

function stopOsc(wid, sqlNum){
if (wid > 0 && sqlNum > 1 && sqlNum <= sqlMaxRowNumber) {
if (wid > 0 && sqlNum >= 1 && sqlNum <= sqlMaxRowNumber) {
//console.log('stoping osc...'+ sqlNum);
$.ajax({
type: "post",
Expand Down

0 comments on commit f1d90ff

Please sign in to comment.