Skip to content

Commit 81c6eed

Browse files
committed
Don't get entire contents of the notebooks, while checking
if it exists Don't get entire contents of the notebooks, while checking if it exists
1 parent eab1e70 commit 81c6eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/static/notebook/js/notebook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2899,7 +2899,7 @@ define([
28992899
$('.save-message').html(`<span style='color:red;'>${msg}</span>`);
29002900
});
29012901
}
2902-
that.contents.get(nb_path, {type: 'notebook'}).then(function(data) {
2902+
that.contents.get(nb_path, {type: 'notebook', content: false}).then(function(data) {
29032903
var warning_body = $('<div/>').append(
29042904
$("<p/>").text(i18n.msg._('Notebook with that name exists.')));
29052905
dialog.modal({

0 commit comments

Comments
 (0)