Check the onOutdatedVersion event

This commit is contained in:
Julia.Radzhabova
2025-06-30 17:48:25 +03:00
parent a5c4e7b832
commit a97b2c3b55
6 changed files with 6 additions and 6 deletions

View File

@ -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;