Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 648a4f02641..83510762c1a 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -2390,7 +2390,7 @@
input = $('<input type="text" class="filename"/>').val(oldName);
form = $('<form></form>');
form.append(input);
- td.children('a.name').hide();
+ td.children('a.name').children(':not(.thumbnail-wrapper)').hide();
td.append(form);
input.focus();
//preselect input
@@ -2418,7 +2418,7 @@
input.tooltip('hide');
tr.data('renaming',false);
form.remove();
- td.children('a.name').show();
+ td.children('a.name').children(':not(.thumbnail-wrapper)').show();
}
function updateInList(fileInfo) {
@@ -2449,7 +2449,7 @@
basename = newName.substr(0, newName.lastIndexOf('.'));
}
td.find('a.name span.nametext').text(basename);
- td.children('a.name').show();
+ td.children('a.name').children(':not(.thumbnail-wrapper)').show();
var path = tr.attr('data-path') || self.getCurrentDirectory();
self.filesClient.move(OC.joinPaths(path, oldName), OC.joinPaths(path, newName))