mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 05:30:15 +08:00
Remove onReady api event, use onAppReady instead
This commit is contained in:
@ -139,7 +139,6 @@
|
||||
}
|
||||
},
|
||||
events: {
|
||||
'onReady': <application ready callback>, // deprecated
|
||||
'onAppReady': <application ready callback>,
|
||||
'onBack': <back to folder callback>,
|
||||
'onDocumentStateChange': <document state changed callback>
|
||||
@ -174,7 +173,6 @@
|
||||
}
|
||||
},
|
||||
events: {
|
||||
'onReady': <application ready callback>, // deprecated
|
||||
'onAppReady': <application ready callback>,
|
||||
'onBack': <back to folder callback>,
|
||||
'onError': <error callback>,
|
||||
@ -207,9 +205,6 @@
|
||||
_config.editorConfig.canRequestMailMergeRecipients = _config.events && !!_config.events.onRequestMailMergeRecipients;
|
||||
_config.frameEditorId = placeholderId;
|
||||
|
||||
_config.events && !!_config.events.onReady && console.log("Obsolete: The onReady event is deprecated. Please use onAppReady instead.");
|
||||
_config.events && (_config.events.onAppReady = _config.events.onAppReady || _config.events.onReady);
|
||||
|
||||
var onMouseUp = function (evt) {
|
||||
_processMouse(evt);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user