From 00fed722d087c822184c067b02988ba66892df5a Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 18 Sep 2008 14:32:43 +0000 Subject: [PATCH] MDL-16486 Activated autopilot for test table install/upgrade --- lib/scroll_to_errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scroll_to_errors.js b/lib/scroll_to_errors.js index 454fb5dbe3..3038837e2d 100644 --- a/lib/scroll_to_errors.js +++ b/lib/scroll_to_errors.js @@ -146,7 +146,7 @@ // automatically scroll to the first warning or continue button initScroll(warnings[0]); if (statusOk && installautopilot) {//global JS variable - document.getElementsByClassName('singlebutton')[0].firstChild.submit(); // Changed this to work for test tables install + document.getElementsByClassName('singlebutton')[0].childNodes[0].submit(); // Changed this to work for test tables install // document.forms[0].submit();//auto submit } }; -- 2.39.5