diff options
author | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2018-02-28 14:19:08 +0300 |
---|---|---|
committer | Sergey Linnik <sergey.linnik@onlyoffice.com> | 2018-02-28 14:24:47 +0300 |
commit | 855d15197f8f3369fff98fbfbde317fdaff00d27 (patch) | |
tree | d6692c3b581e5f4f02a6fe76dfc93203ca659f26 /js | |
parent | ff319519eaa4cb88b2e3e2b608eee78c6038a81b (diff) |
forcing set default action
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"); } }); |