From 0c2ebb984e5d3764997a96cad54a40464623aeb7 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Fri, 5 Jul 2013 15:07:05 +0200 Subject: adding tipsy to the upload button showing the max upload and restoring client side upload size validation --- apps/files_sharing/js/public.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/files_sharing/js/public.js') diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 0244f392a0e..294223aa094 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -11,6 +11,8 @@ var form_data; $(document).ready(function() { + $('#data-upload-form').tipsy({gravity:'ne', fade:true}); + if (typeof FileActions !== 'undefined') { var mimetype = $('#mimetype').val(); // Show file preview if previewer is available, images are already handled by the template -- cgit v1.2.3