Skip to content

Commit 4345031

Browse files
committed
Add missing handler
1 parent 407b843 commit 4345031

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/tabs/onboard_logging.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ onboard_logging.initialize = function (callback) {
103103
$(".tab-onboard_logging a.erase-flash-cancel").click(flash_erase_cancel);
104104

105105
$(".tab-onboard_logging a.save-flash").click(flash_save_begin);
106+
$(".tab-onboard_logging a.save-flash-erase").click(() => flash_save_begin(true));
106107
$(".tab-onboard_logging a.save-flash-cancel").click(flash_save_cancel);
107108
$(".tab-onboard_logging a.save-flash-dismiss").click(dismiss_saving_dialog);
108109
}
@@ -355,7 +356,7 @@ onboard_logging.initialize = function (callback) {
355356
true,
356357
);
357358

358-
$("a.regular-button erase-flash, a.regular-button.require-msc-supported.save-flash").toggleClass(
359+
$("a.regular-button.erase-flash, a.regular-button.require-msc-supported.save-flash").toggleClass(
359360
"disabled",
360361
FC.DATAFLASH.usedSize === 0,
361362
);

0 commit comments

Comments
 (0)