| Line 413... |
Line 413... |
| 413 |
url : '_json_plan_control.asp',
|
413 |
url : '_json_plan_control.asp',
|
| 414 |
data : {Opr : 'setThreshold', threshold : planTime, rtag_id : <%=parRtagId%> },
|
414 |
data : {Opr : 'setThreshold', threshold : planTime, rtag_id : <%=parRtagId%> },
|
| 415 |
dataType : 'json',
|
415 |
dataType : 'json',
|
| 416 |
}).done(function (data){
|
416 |
}).done(function (data){
|
| 417 |
if(data.result) {
|
417 |
if(data.result) {
|
| 418 |
console.log("notDone:", data);
|
418 |
//console.log("notDone:", data);
|
| 419 |
vixAlert("The action failed due to some internal error<br>Error: " + data.emsgSummary + "<br>Details:" + data.emsgDetails);
|
419 |
vixAlert("The action failed due to some internal error<br>Error: " + data.emsgSummary + "<br>Details:" + data.emsgDetails);
|
| 420 |
|
420 |
|
| 421 |
}
|
421 |
}
|
| 422 |
}).fail(function (data,textStatus,errorThrown){
|
422 |
}).fail(function (data,textStatus,errorThrown){
|
| 423 |
vixAlert("The action failed due to some internal error<br>Error: " + errorThrown);
|
423 |
vixAlert("The action failed due to some internal error<br>Error: " + errorThrown);
|
| Line 431... |
Line 431... |
| 431 |
url : '_json_plan_control.asp',
|
431 |
url : '_json_plan_control.asp',
|
| 432 |
data : {Opr : 'setDrop', mode : planDrop, rtag_id : <%=parRtagId%> },
|
432 |
data : {Opr : 'setDrop', mode : planDrop, rtag_id : <%=parRtagId%> },
|
| 433 |
dataType : 'json',
|
433 |
dataType : 'json',
|
| 434 |
}).done(function (data){
|
434 |
}).done(function (data){
|
| 435 |
if(data.result) {
|
435 |
if(data.result) {
|
| 436 |
console.log("notDone:", data);
|
436 |
//console.log("notDone:", data);
|
| 437 |
vixAlert("The action failed due to some internal error<br>Error: " + data.emsgSummary + "<br>Details:" + data.emsgDetails);
|
437 |
vixAlert("The action failed due to some internal error<br>Error: " + data.emsgSummary + "<br>Details:" + data.emsgDetails);
|
| 438 |
|
438 |
|
| 439 |
}
|
439 |
}
|
| 440 |
}).fail(function (data,textStatus,errorThrown){
|
440 |
}).fail(function (data,textStatus,errorThrown){
|
| 441 |
vixAlert("The action failed due to some internal error<br>Error: " + errorThrown);
|
441 |
vixAlert("The action failed due to some internal error<br>Error: " + errorThrown);
|