From 26e406c3c0ec478f29095d1d03cbb3afe04aa160 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Wed, 1 Aug 2012 18:03:00 -0400 Subject: [PATCH] Hide 'can edit' if not checked --- core/js/share.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/js/share.js b/core/js/share.js index a3fe0f69732..e3dfd27e760 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -165,7 +165,12 @@ OC.Share={ var html = '
  • '; html += shareWith; if (possiblePermissions & OC.Share.PERMISSION_CREATE || possiblePermissions & OC.Share.PERMISSION_UPDATE || possiblePermissions & OC.Share.PERMISSION_DELETE) { - html += ''; + if (editChecked == '') { + html += '