diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ } }); - if (attr.def && !fileList.fileActions.getDefaultFileAction(attr.mime, "file", OC.PERMISSION_READ)) { + if (attr.def) { fileList.fileActions.setDefault(attr.mime, "onlyofficeOpen"); } }); |