diff --git a/notebook/static/notebook/js/savewidget.js b/notebook/static/notebook/js/savewidget.js index 8a18c580f..ba168c0ce 100644 --- a/notebook/static/notebook/js/savewidget.js +++ b/notebook/static/notebook/js/savewidget.js @@ -83,7 +83,8 @@ define([ notebook: options.notebook, keyboard_manager: this.keyboard_manager, buttons : { - "OK": { + "Cancel": {}, + "Rename": { class: "btn-primary", click: function () { var new_name = d.find('input').val(); @@ -108,9 +109,8 @@ define([ return false; } } - }, - "Cancel": {} - }, + } + }, open : function () { /** * Upon ENTER, click the OK button.