From fe478a0ff3b73846e2d843ba346bc3aba33a1e54 Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Fri, 12 Feb 2016 21:44:34 -0800 Subject: [PATCH] Updated Move Dialog's buttons per #744 for #742. Changes "OK" -> "Move" and sets "Cancel" as default button. --- notebook/static/tree/js/notebooklist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index 51989b14f..705051722 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -814,9 +814,10 @@ define([ var d = dialog.modal({ title : "Move "+ item_type, body : dialog_body, + default_button: "Cancel", buttons : { Cancel : {}, - OK : { + Move : { class: "btn-primary", click: function() { // Construct the new path using the user input and its name.