MCPcopy
hub / github.com/webpack/webpack / onCancelInDialog

Function onCancelInDialog

test/configCases/inner-graph/issue-11678/module.js:2686–2699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2684 }
2685}
2686async function onCancelInDialog() {
2687 if (_isNewDataset && _isFormInDialogSelector !== null) {
2688
2689 $(_isFormInDialogSelector).html("");
2690
2691 _showFormButtons(buttons.STATE.initialize);
2692 } else {
2693 await _showForm(
2694 buttons.STATE.show,
2695 _isFormInDialogJobPK,
2696 _isFormInDialogSelector
2697 );
2698 }
2699}
2700async function onSave() {
2701 await _saveForm(false);
2702}

Callers 1

onCancelFunction · 0.85

Calls 3

$Function · 0.85
_showFormButtonsFunction · 0.85
_showFormFunction · 0.85

Tested by

no test coverage detected