fix recent commit: debugger not executing actions automatically any more
authorgggeek <giunta.gaetano@gmail.com>
Fri, 20 Jan 2023 11:46:41 +0000 (11:46 +0000)
committergggeek <giunta.gaetano@gmail.com>
Fri, 20 Jan 2023 11:46:41 +0000 (11:46 +0000)
debugger/controller.php

index 74afb0d..f6c766f 100644 (file)
@@ -267,7 +267,7 @@ if (defined('JSXMLRPC_BASEURL')) {
 </head>
 <body
     onload="<?php if ($hasjsonrpcclient) echo "switchtransport($wstype); " ?>switchaction(); switchssl(); switchauth(); swicthcainfo();<?php if ($run) {
-        echo ' document.forms[2].submit();';
+        echo ' document.frmaction.submit();';
     } ?>">
 <h1>XML-RPC
 <?php if ($hasjsonrpcclient) {