Content deleted Content added
Polygnotus (talk | contribs) No edit summary |
Polygnotus (talk | contribs) No edit summary |
||
Line 437:
},
{
action: 'cancel',
label: 'Cancel',
flags: ['safe']
Line 478 ⟶ 479:
}
});
} else if (action === 'cancel') {
this.close();
}
return ApiKeyDialog.super.prototype.getActionProcess.call(this, action);
Line 486 ⟶ 489:
.next(() => {
this.actions.setMode('save');
// Focus the text input
setTimeout(() => {
this.textInput.focus();
}, 100);
});
};
ApiKeyDialog.prototype.getReadyProcess = function(data) {
return ApiKeyDialog.super.prototype.getReadyProcess.call(this, data)
.next(() => {
this.textInput.focus();
});
};
|