aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-12-21 14:45:46 -0800
committerfriendica <info@friendica.com>2014-12-21 14:45:46 -0800
commitb840c279957667168b400207caff14dc78043994 (patch)
treeece0b11af5e7055226c566e4aa35ef4a7a781de0 /view/js/main.js
parent2b3cc585a24cbdf97e8e2382752297bc4f725e12 (diff)
parentc732b72a0dde2c8b4d49e63114c9415f44a8a8d7 (diff)
downloadvolse-hubzilla-b840c279957667168b400207caff14dc78043994.tar.gz
volse-hubzilla-b840c279957667168b400207caff14dc78043994.tar.bz2
volse-hubzilla-b840c279957667168b400207caff14dc78043994.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index a851e7e63..f49cea78c 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -208,6 +208,7 @@
var pageHasMoreContent = true;
var updateCountsOnly = false;
var divmore_height = 400;
+ var last_filestorage_id = null;
$(function() {
$.ajaxSetup({cache: false});
@@ -842,6 +843,17 @@ function updateConvItems(mode,data) {
});
}
+ function filestorage(event,nick,id) {
+ $('#perms-panel-' + last_filestorage_id).html('');
+ $('#file-edit-' + id).spin('tiny');
+ delete acl;
+ $.get('filestorage/' + nick + '/' + id + '/edit', function(data) {
+ $('#perms-panel-' + id).html(data);
+ $('#file-edit-' + id).spin(false);
+ last_filestorage_id = id;
+ });
+ }
+
function post_comment(id) {
unpause();
commentBusy = true;