Merge pull request #331 from nextcloud/bugfix/134

Reload file list after closing collabora
This commit is contained in:
Roeland Jago Douma 2018-12-17 19:30:34 +01:00 коммит произвёл GitHub
Родитель c6916d0309 e40791cf1e
Коммит fcd65f848e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -128,6 +128,7 @@ var odfViewer = {
onClose: function() { onClose: function() {
if(typeof FileList !== "undefined") { if(typeof FileList !== "undefined") {
FileList.setViewerMode(false); FileList.setViewerMode(false);
FileList.reload();
} }
$('link[href="' + OC.addStyle.loaded.pop() + '"]').remove(); $('link[href="' + OC.addStyle.loaded.pop() + '"]').remove();
$('#app-content #controls').removeClass('hidden'); $('#app-content #controls').removeClass('hidden');