(error)
| 353 | } |
| 354 | |
| 355 | function errorHandler(error) { |
| 356 | if (error.responseJSON) { |
| 357 | if (error.responseJSON.message) { |
| 358 | $('#body').html('<h5>Got ERROR: ' + error.responseJSON.message + '</h5>'); |
| 359 | } |
| 360 | else { |
| 361 | $('#body').html('<h5>Network ERROR calling server...</h5>'); |
| 362 | } |
| 363 | if (error.responseJSON.connectionClosed) setRootConnectionNetworkError(true, getKeyTree().get_selected(true)[0]); |
| 364 | } |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | function selectTreeNodeBranch (data) { |
nothing calls this directly
no test coverage detected