[all] refactoring

This commit is contained in:
Maxim Kadushkin 2019-04-03 16:49:29 +03:00
parent 7237ecd510
commit 8a6715f03b

View file

@ -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) {