mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 08:37:33 +08:00
[all] refactoring
This commit is contained in:
@ -59,7 +59,9 @@ define([
|
||||
|
||||
if ( !!app ) {
|
||||
if ( !config.isOffline ) {
|
||||
app.execCommand('webapps:config', 'goback:' + config.customization.goback.url);
|
||||
if ( config.customization.goback && config.customization.goback.url ) {
|
||||
app.execCommand('webapps:config', JSON.stringify({'goback': config.customization.goback.url}));
|
||||
}
|
||||
}
|
||||
|
||||
app.on_native_message = function (cmd, param) {
|
||||
|
||||
Reference in New Issue
Block a user