Skip to content

[3.0] Add doAutoSubmit#9090

Merged
jdarwood007 merged 2 commits intoSimpleMachines:release-3.0from
jdarwood007:3.0/doAutoSubmit
Jan 31, 2026
Merged

[3.0] Add doAutoSubmit#9090
jdarwood007 merged 2 commits intoSimpleMachines:release-3.0from
jdarwood007:3.0/doAutoSubmit

Conversation

@jdarwood007
Copy link
Member

Pulled from #7933

@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Jan 24, 2026

setTimeout("doAutoSubmit();", 1000);
}
setTimeout(\'doAutoSubmit(' . (Maintenance::$tool->isDebug() ? '-1' : '3') . ', "', Lang::getTxt('action_continue', file: 'Maintenance'), '", "upform");\', 1000);
Copy link
Contributor

@live627 live627 Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be moved and should specify name of b utton

// Are we on a pause?
if (!empty(Maintenance::$context['pause'])) {
echo '
<script defer>
window.onload = doAutoSubmit;
</script>';
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix the form, but I can't honestly remember why I have that defer there. I added a todo and someyear we will look at it.

@jdarwood007 jdarwood007 merged commit 6d26117 into SimpleMachines:release-3.0 Jan 31, 2026
7 checks passed
@jdarwood007 jdarwood007 deleted the 3.0/doAutoSubmit branch January 31, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants