initialize variable

This commit is contained in:
Bjoern Schiessle 2013-09-20 15:47:33 +02:00
parent 12b4e79201
commit 71e129f295

View file

@ -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) {