update OnlyOffice

This commit is contained in:
Xuan Sang LE
2021-02-10 21:05:56 +01:00
parent e6e374f70b
commit 2987d12165
8 changed files with 10 additions and 5 deletions

View File

@ -79,7 +79,8 @@ class OnlyOffice extends this.OS.application.BaseApplication
@access_token = d.result
@currfile.onready()
.then (meta) =>
key = "#{@systemsetting.user.username}:#{@currfile.path}:#{meta.mtime}"
key = "#{@systemsetting.user.username}:#{@currfile.path}"
# :#{meta.mtime}
key = key.hash().toString()
@scheme.apptitle = @currfile.path
$(@placeholder).empty()