aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-04 10:36:45 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-04 10:36:45 +0200
commit0340160ba71f73ef3dab1141d75f30d85144cc44 (patch)
treebba09795fa6a6b7e240a7c32bb42025253699e94 /view/js
parent4ede3fd771ea997cffaa6abab29988a58daf892e (diff)
downloadvolse-hubzilla-0340160ba71f73ef3dab1141d75f30d85144cc44.tar.gz
volse-hubzilla-0340160ba71f73ef3dab1141d75f30d85144cc44.tar.bz2
volse-hubzilla-0340160ba71f73ef3dab1141d75f30d85144cc44.zip
multi acl: port /cloud and /filestorage
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js2
-rw-r--r--view/js/mod_filestorage.js15
2 files changed, 1 insertions, 16 deletions
diff --git a/view/js/main.js b/view/js/main.js
index a3fade0ea..21157bdfe 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1015,8 +1015,6 @@ function filestorage(event, nick, id) {
$('#cloud-index-' + last_filestorage_id).removeClass('cloud-index-active');
$('#perms-panel-' + last_filestorage_id).hide().html('');
$('#file-edit-' + id).spin('tiny');
- // What for do we need this here?
- delete acl;
$.get('filestorage/' + nick + '/' + id + '/edit', function(data) {
$('#cloud-index-' + id).addClass('cloud-index-active');
$('#perms-panel-' + id).html(data).show();
diff --git a/view/js/mod_filestorage.js b/view/js/mod_filestorage.js
index c0620c928..4f58af9d5 100644
--- a/view/js/mod_filestorage.js
+++ b/view/js/mod_filestorage.js
@@ -1,17 +1,4 @@
/**
* JavaScript used by mod/filestorage
*/
-$(document).ready(function() {
- $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
- var selstr;
- $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
- selstr = $(this).text();
- $('#jot-perms-icon').removeClass('fa-unlock').addClass('fa-lock');
- $('#jot-public').hide();
- });
- if(selstr === null) {
- $('#jot-perms-icon').removeClass('fa-lock').addClass('fa-unlock');
- $('#jot-public').show();
- }
- }).trigger('change');
-}); \ No newline at end of file
+