From 801ab709adfa808072f70fe1bf4b712ddc33df42 Mon Sep 17 00:00:00 2001 From: marijus Date: Sun, 28 Dec 2014 18:16:27 +0100 Subject: more work on files --- view/js/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view/js/main.js') diff --git a/view/js/main.js b/view/js/main.js index f979f6b6f..104718436 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -844,10 +844,12 @@ function updateConvItems(mode,data) { } 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'); delete acl; $.get('filestorage/' + nick + '/' + id + '/edit', function(data) { + $('#cloud-index-' + id).addClass('cloud-index-active'); $('#perms-panel-' + id).html(data).show(); $('#file-edit-' + id).spin(false); last_filestorage_id = id; -- cgit v1.2.3