Show debug window when there's an error

pull/90/head
Daniel Richman 2012-07-12 17:13:07 +00:00
rodzic be69f3d439
commit d5b3b02eed
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -253,6 +253,8 @@ function processProgress(progress) {
clearInterval(ajaxEventHandle);
appendDebug("There was an error in running the prediction: "
+ progress['error']);
resetGUI();
toggleWindow("scenario_template", "showHideDebug", "Show Debug", "Hide Debug", "show");
} else {
// get the progress of the wind data
if ( progress['gfs_complete'] == true ) {