[forms] fix theme applying for desktop
This commit is contained in:
parent
e72f0b5ab1
commit
e15e50d21e
|
@ -1818,7 +1818,8 @@ define([
|
||||||
|
|
||||||
window.on_native_message = function (cmd, param) {
|
window.on_native_message = function (cmd, param) {
|
||||||
if (/theme:changed/.test(cmd)) {
|
if (/theme:changed/.test(cmd)) {
|
||||||
Common.UI.Themes.setTheme(param);
|
if ( !!Common.UI.Themes.setTheme )
|
||||||
|
Common.UI.Themes.setTheme(param);
|
||||||
} else
|
} else
|
||||||
if (/window:features/.test(cmd)) {
|
if (/window:features/.test(cmd)) {
|
||||||
var obj = JSON.parse(param);
|
var obj = JSON.parse(param);
|
||||||
|
|
Loading…
Reference in a new issue