summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-09-20 15:47:33 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-09-20 15:47:33 +0200
commit71e129f295996a65e2e7d73c5e6a964ba9f8bebf (patch)
treef13dc7e0846957aaf9d85ff304c623a933772fe4 /core
parent12b4e7920148e1cf586fa96fafe7fee33a12523b (diff)
downloadnextcloud-server-71e129f295996a65e2e7d73c5e6a964ba9f8bebf.tar.gz
nextcloud-server-71e129f295996a65e2e7d73c5e6a964ba9f8bebf.zip
initialize variable
Diffstat (limited to 'core')
-rw-r--r--core/js/share.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/js/share.js b/core/js/share.js
index f0fc4136e61..094b0be929d 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -604,6 +604,7 @@ $(document).ready(function() {
var itemType = $('#dropdown').data('item-type');
var itemSource = $('#dropdown').data('item-source');
var allowPublicUpload = $('#sharingDialogAllowPublicUpload').is(':checked');
+ var permissions = 0;
// Calculate permissions
if (allowPublicUpload) {