mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-06-22 19:25:09 -04:00
* Fix dialog buttons
* comments
* Remove debug
(cherry picked from commit d294c81588)
This commit is contained in:
@@ -138,7 +138,8 @@ export class DialogModal extends Modal {
|
||||
if (this._doneButton.enabled) {
|
||||
let buttonSpinnerHandler = setTimeout(() => {
|
||||
this._doneButton.enabled = false;
|
||||
this._doneButton.element.innerHTML = ' ';
|
||||
// Temporarily set the label to empty since we're showing a spinner instead
|
||||
this._doneButton.label = ''
|
||||
this._doneButton.element.classList.add('validating');
|
||||
}, 100);
|
||||
if (await this._dialog.validateClose()) {
|
||||
|
||||
Reference in New Issue
Block a user