Merge pull request #8284 from owncloud/fix_8280

Adjust renaming of directories with a dot in name
remotes/origin/ldap_group_count
Thomas Müller 12 years ago
commit e68aaf1f5b
  1. 3
      apps/files/js/filelist.js

@ -572,7 +572,8 @@ window.FileList = {
input.focus();
//preselect input
var len = input.val().lastIndexOf('.');
if (len === -1) {
if ( len === -1 ||
tr.data('type') === 'dir' ) {
len = input.val().length;
}
input.selectRange(0, len);

Loading…
Cancel
Save