|
|
|
|
@ -72,7 +72,9 @@ define([
|
|
|
|
|
var d = dialog.modal({
|
|
|
|
|
title: "Rename File",
|
|
|
|
|
body: dialog_body,
|
|
|
|
|
default_button: "Cancel",
|
|
|
|
|
buttons : {
|
|
|
|
|
"Cancel": {},
|
|
|
|
|
"OK": {
|
|
|
|
|
class: "btn-primary",
|
|
|
|
|
click: function () {
|
|
|
|
|
@ -89,9 +91,8 @@ define([
|
|
|
|
|
);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"Cancel": {}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
open : function () {
|
|
|
|
|
// Upon ENTER, click the OK button.
|
|
|
|
|
d.find('input[type="text"]').keydown(function (event) {
|
|
|
|
|
|