Skip to content

Commit 02c481a

Browse files
authored
Fix: Do not use submitThisForm() when the "Enter" button press event occurs, because our form already uses "data-on-change="submitThisForm"" (skin.js)
Possible fix #4426
1 parent 38fd362 commit 02c481a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/skins/classic/js/skin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ function handleKeydownGeneral(evt) {
17921792
// Controls pressing "Enter" inside the sliding panel from Sidebar. Used to submit the form to the Console page.
17931793
if (navbar_type == 'left' && key == 'Enter') {
17941794
if (SIDEBAR_MAIN_EXTRUDER.contains(target)) {
1795-
submitThisForm();
1795+
//submitThisForm();
17961796
}
17971797
}
17981798
}

0 commit comments

Comments
 (0)