more work on files

This commit is contained in:
marijus
2014-12-27 10:10:56 +01:00
parent 82d3c2a7e0
commit 0cb0c2b1bf
5 changed files with 96 additions and 48 deletions

View File

@@ -844,11 +844,11 @@ function updateConvItems(mode,data) {
}
function filestorage(event,nick,id) {
$('#perms-panel-' + last_filestorage_id).html('');
$('#perms-panel-' + last_filestorage_id).hide().html('');
$('#file-edit-' + id).spin('tiny');
delete acl;
$.get('filestorage/' + nick + '/' + id + '/edit', function(data) {
$('#perms-panel-' + id).html(data);
$('#perms-panel-' + id).html(data).show();
$('#file-edit-' + id).spin(false);
last_filestorage_id = id;
});