This commit is contained in:
Liang Ding 2014-11-07 23:17:56 +08:00
parent 8036401a3c
commit 1da973387d
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ var wide = {
"afterOpen": function () {
var index = wide.curNode.name.lastIndexOf(".");
$("#dialogRenamePrompt > input").val(wide.curNode.name.substring(0, index)).focus();
// TODO: 全选
$("#dialogRenamePrompt").closest(".dialog-main").find(".dialog-footer > button:eq(0)").prop("disabled", true);
},
"ok": function () {