Merge pull request #331 from nextcloud/bugfix/134
Reload file list after closing collabora
This commit is contained in:
Коммит
fcd65f848e
|
@ -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');
|
||||||
|
|
Загрузка…
Ссылка в новой задаче