From ac9733a8b8bb64a9cc5c5b792fb1119106d76fd0 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 17 Jun 2015 13:40:46 +0200 Subject: [PATCH] make the click actions work --- apps/files_sharing/js/settings-personal.js | 2 +- apps/files_sharing/templates/settings-personal.php | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/apps/files_sharing/js/settings-personal.js b/apps/files_sharing/js/settings-personal.js index 800579d1ec..1c7aea0b9d 100644 --- a/apps/files_sharing/js/settings-personal.js +++ b/apps/files_sharing/js/settings-personal.js @@ -1,6 +1,6 @@ $(document).ready(function() { - $('#fileSharingSettings img').click(function() { + $('#fileSharingSettings button.pop-up').click(function() { var url = $(this).data('url'); if (url) { var width = 600; diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php index 8703352e02..c6bb1474c8 100644 --- a/apps/files_sharing/templates/settings-personal.php +++ b/apps/files_sharing/templates/settings-personal.php @@ -20,24 +20,26 @@ style('files_sharing', '3rdparty/gs-share/style');

t('Share it:')); ?> - - - - -