From 1fc41a7bfc507e6f041e2db34ebf044a49e928a5 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Fri, 29 Jul 2011 12:11:53 -0400 Subject: Integrate sharing app with the new interface --- apps/files_sharing/js/share.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/files_sharing/js') diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 32926c6811e..0562c3cb132 100644 --- a/apps/files_sharing/js/share.js +++ b/apps/files_sharing/js/share.js @@ -1,6 +1,5 @@ $(document).ready(function() { - $('.share').click(function(event) { - event.preventDefault(); + FileActions.register('all', 'Share', OC.imagePath('core', 'actions/share'), function(filename) { var html = "
"; html += ""; html += ""; -- cgit v1.2.3