From 81c6eed3d78c187763ebe0e9e52cf95a0c024cd3 Mon Sep 17 00:00:00 2001 From: madhu94 Date: Sun, 17 Jun 2018 15:32:17 +0530 Subject: [PATCH] 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 --- notebook/static/notebook/js/notebook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 5d4541746..1af10f9ae 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -2899,7 +2899,7 @@ define([ $('.save-message').html(`${msg}`); }); } - that.contents.get(nb_path, {type: 'notebook'}).then(function(data) { + that.contents.get(nb_path, {type: 'notebook', content: false}).then(function(data) { var warning_body = $('
').append( $("

").text(i18n.msg._('Notebook with that name exists.'))); dialog.modal({