From f21fdf14f9456b5a25c78f48d03063c383cdbdc2 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Sun, 24 Jun 2012 19:25:41 -0400 Subject: Forgot I got rid of the class field backendTypes, use the array keys of the backends field instead --- core/js/share.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/js/share.js b/core/js/share.js index 9ba35616a47..b7821ce14b5 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -25,7 +25,7 @@ OC.Share={ if (result && result.status === 'success') { OC.Share.item = result.data; } - }}); + }); }, share:function(itemType, shareType, shareWith, permissions, callback) { $.post(OC.filePath('core', 'ajax', 'share.php'), { action: 'share', itemType: itemType, shareType: shareType, shareWith: shareWith, permissions: permissions }, function(result) { -- cgit v1.2.3