mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Display a "Close" button on load notebook error
This commit is contained in:
parent
3857c9201c
commit
50a03a0a9e
@ -3179,8 +3179,14 @@ define([
|
||||
title: i18n.msg._("Error loading notebook"),
|
||||
body : msg,
|
||||
buttons : {
|
||||
"OK": {}
|
||||
}
|
||||
"Close": {
|
||||
class : 'btn-danger',
|
||||
click : function () {
|
||||
window.close();
|
||||
}
|
||||
},
|
||||
"Ok": {}
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user