This commit is contained in:
Tim Paine 2018-04-05 18:13:24 -04:00
parent c0f54ee64b
commit 2047ef6685

View file

@ -88,7 +88,7 @@ function activate(app: JupyterLab, docManager: IDocumentManager, palette: IComma
focusNodeSelector: 'input',
buttons: [Dialog.cancelButton(), Dialog.okButton({ label: 'GO' })]
}).then(result => {
if (result.button.label !== 'GO') {
if (result.button.label === 'CANCEL') {
return;
}