[all] refactoring
This commit is contained in:
parent
7237ecd510
commit
8a6715f03b
|
@ -59,7 +59,9 @@ define([
|
||||||
|
|
||||||
if ( !!app ) {
|
if ( !!app ) {
|
||||||
if ( !config.isOffline ) {
|
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) {
|
app.on_native_message = function (cmd, param) {
|
||||||
|
|
Loading…
Reference in a new issue