[all] share some config to desktop
This commit is contained in:
parent
c7e5a730da
commit
86a808ba4f
|
@ -57,7 +57,12 @@ define([
|
||||||
$('.toolbar').addClass('editor-native-color');
|
$('.toolbar').addClass('editor-native-color');
|
||||||
});
|
});
|
||||||
|
|
||||||
!!app && (app.on_native_message = function (cmd, param) {
|
if ( !!app ) {
|
||||||
|
if ( !config.isOffline ) {
|
||||||
|
app.execCommand('webapps:config', 'goback:' + config.customization.goback.url);
|
||||||
|
}
|
||||||
|
|
||||||
|
app.on_native_message = function (cmd, param) {
|
||||||
if (/^style:change/.test(cmd)) {
|
if (/^style:change/.test(cmd)) {
|
||||||
var obj = JSON.parse(param);
|
var obj = JSON.parse(param);
|
||||||
|
|
||||||
|
@ -67,7 +72,8 @@ define([
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
process: function (opts) {
|
process: function (opts) {
|
||||||
|
|
Loading…
Reference in a new issue