diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-01-20 13:44:34 +0400 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-01-20 13:44:34 +0400 |
commit | f88360eba34df0fcdcde93d9887a7da054c8aeb6 (patch) | |
tree | b55252f94bf4e7f4eaa5e346f5b00361ec1531a7 /apps | |
parent | 39be83ca8b4969d5a9a34500d59b2cf49f789688 (diff) | |
parent | a41440436cfb051d8075f72eb45d470feb1d15d7 (diff) |
Merge pull request #6827 from rnveach/fix_6730
Fix 6730
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/js/filelist.js | 2 | ||||
-rw-r--r-- | apps/files/js/files.js | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 30aea9c8c8d..66968ab54c7 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -27,6 +27,8 @@ var FileList={ Files.setupDragAndDrop(); } FileList.updateFileSummary(); + procesSelection(); + $fileList.trigger(jQuery.Event("updated")); }, createRow:function(type, name, iconurl, linktarget, size, lastModified, permissions) { diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 1f12ade8d79..dc7e893340f 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -612,11 +612,12 @@ function procesSelection() { return el.type==='dir'; }); if (selectedFiles.length === 0 && selectedFolders.length === 0) { - $('#headerName>span.name').text(t('files','Name')); + $('#headerName span.name').text(t('files','Name')); $('#headerSize').text(t('files','Size')); $('#modified').text(t('files','Modified')); $('table').removeClass('multiselect'); $('.selectedActions').hide(); + $('#select_all').removeAttr('checked'); } else { $('.selectedActions').show(); |