Show folder name in dialog when renaming folder

This commit is contained in:
Francis Lachapelle
2014-03-06 21:25:48 -05:00
parent 31ace947cb
commit 28b1938bd9
3 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -2157,7 +2157,10 @@ function _showPromptDialog(title, label, callback, defaultValue) {
}
if (Prototype.Browser.IE)
jQuery('#bgDialogDiv').css('opacity', 0.4);
jQuery(dialog).fadeIn('fast', function () { dialog.down("input").focus(); });
jQuery(dialog).fadeIn('fast', function () {
var input = dialog.down("input");
input.selectText(0, input.value.length);
});
}
function showSelectDialog(title, label, options, button, callbackFcn, callbackArg, defaultValue) {