summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorzombiehugs <gerdsen@gmail.com>2013-12-03 08:09:58 -0600
committerzombiehugs <gerdsen@gmail.com>2013-12-03 08:14:06 -0600
commit1dbbfcf3dcd4de7f31344244b9f22217e4bfba72 (patch)
treeb7f574b50c504f236b6cbb0b05047e204ffd93be /apps
parent4430eded81aeddd667f85da469c0af08266a1222 (diff)
downloadnextcloud-server-1dbbfcf3dcd4de7f31344244b9f22217e4bfba72.tar.gz
nextcloud-server-1dbbfcf3dcd4de7f31344244b9f22217e4bfba72.zip
[fix] Center Share Dropdown & Versions Dropdown
Center Share Dropdown & Versions Dropdown
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/share.js2
-rw-r--r--apps/files_versions/js/versions.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 340e0939445..154522bea58 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -29,7 +29,7 @@ $(document).ready(function() {
var itemType = 'file';
}
var possiblePermissions = $(tr).data('permissions');
- var appendTo = $(tr).find('td.filename');
+ var appendTo = $(tr).find('.name');
// Check if drop down is already visible for a different file
if (OC.Share.droppedDown) {
if ($(tr).data('id') != $('#dropdown').attr('data-item-source')) {
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index 738a7ece6f2..eb659002ab8 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -87,7 +87,7 @@ function createVersionsDropdown(filename, files) {
if (filename) {
$('tr').filterAttr('data-file',filename).addClass('mouseOver');
- $(html).appendTo($('tr').filterAttr('data-file',filename).find('td.filename'));
+ $(html).appendTo($('tr').filterAttr('data-file',filename).find('.name'));
} else {
$(html).appendTo($('thead .share'));
}