From ac7d2efbe3dd03cee38a1f247ce56461dc1f74cb Mon Sep 17 00:00:00 2001
From: Lukas Reschke
Date: Thu, 3 Sep 2015 11:28:14 +0200
Subject: [PATCH] Collapse HTML code for federated code
---
apps/files_sharing/js/settings-personal.js | 4 ++++
apps/files_sharing/templates/settings-personal.php | 11 ++++++-----
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/apps/files_sharing/js/settings-personal.js b/apps/files_sharing/js/settings-personal.js
index 1c7aea0b9d..14a9b7bbfa 100644
--- a/apps/files_sharing/js/settings-personal.js
+++ b/apps/files_sharing/js/settings-personal.js
@@ -12,4 +12,8 @@ $(document).ready(function() {
}
});
+ $('#oca-files-sharing-add-to-your-website').click(function() {
+ $('#oca-files-sharing-add-to-your-website-expanded').slideDown();
+ });
+
});
diff --git a/apps/files_sharing/templates/settings-personal.php b/apps/files_sharing/templates/settings-personal.php
index ae6b909df7..1b93084e54 100644
--- a/apps/files_sharing/templates/settings-personal.php
+++ b/apps/files_sharing/templates/settings-personal.php
@@ -46,13 +46,13 @@ if ($_['showShareIT']) {
data-url='https://plus.google.com/share?url='/>
Google+
+
-
-
-
- t('Add it to your website:')); ?>
-
+
+
+