Change the order of Cancel and OK button in the renaming function so it matches the user experience for the same dialog boxes used in the main dashboard

pull/37/head
David Neto 12 years ago committed by Min RK
parent e1f4a76ea1
commit 4bbd255f16

@ -77,7 +77,6 @@ define([
notebook: options.notebook,
keyboard_manager: this.keyboard_manager,
buttons : {
"Cancel": {},
"OK": {
class: "btn-primary",
click: function () {
@ -92,7 +91,8 @@ define([
} else {
that.notebook.rename(new_name);
}
}}
}},
"Cancel": {}
},
open : function (event, ui) {
var that = $(this);

Loading…
Cancel
Save