mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
Check the onOutdatedVersion event
This commit is contained in:
@ -800,7 +800,7 @@ define([
|
||||
},
|
||||
|
||||
onUpdateVersion: function(callback) {
|
||||
console.log("Obsolete: The 'onOutdatedVersion' event is deprecated. Please use 'onRequestRefreshFile' event and 'refreshFile' method instead.");
|
||||
this.editorConfig && this.editorConfig.canUpdateVersion && console.log("Obsolete: The 'onOutdatedVersion' event is deprecated. Please use 'onRequestRefreshFile' event and 'refreshFile' method instead.");
|
||||
|
||||
var me = this;
|
||||
me.needToUpdateVersion = true;
|
||||
|
||||
Reference in New Issue
Block a user