Skip to content

Commit bccbdac

Browse files
wolfibDevtools-frontend LUCI CQ
authored andcommitted
[Freestyler] Another form submission button bugfix
Set the submit button to disabled when the form is being closed, so that on an eventual re-opening of a fresh form the submit button is disabled. Fixed: 380374996 Change-Id: I7e9b403dc561049246566fbe85498ed2edb5d904 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6038943 Reviewed-by: Nikolay Vitkov <[email protected]> Commit-Queue: Wolfgang Beyer <[email protected]> Auto-Submit: Wolfgang Beyer <[email protected]>
1 parent 5706c90 commit bccbdac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

front_end/panels/freestyler/components/UserActionRow.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ export class UserActionRow extends HTMLElement {
155155

156156
#handleClose = (): void => {
157157
this.#isShowingFeedbackForm = false;
158+
this.#isSubmitButtonDisabled = true;
158159
this.#render();
159160
};
160161

0 commit comments

Comments
 (0)