[desktop] debug
This commit is contained in:
parent
fd2fb44cfd
commit
03f0a24bfd
|
@ -1871,7 +1871,6 @@ define([
|
||||||
native.execCommand("uitheme:changed", JSON.stringify({name:name, type:theme.type}));
|
native.execCommand("uitheme:changed", JSON.stringify({name:name, type:theme.type}));
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
Common.Gateway.on('opendocument', function () {
|
Common.Gateway.on('opendocument', function () {
|
||||||
api = DE.getController('ApplicationController').api;
|
api = DE.getController('ApplicationController').api;
|
||||||
|
@ -1881,6 +1880,7 @@ define([
|
||||||
var is_win_xp = window.RendererProcessVariable && window.RendererProcessVariable.os === 'winxp';
|
var is_win_xp = window.RendererProcessVariable && window.RendererProcessVariable.os === 'winxp';
|
||||||
Common.UI.Themes.setAvailable(!is_win_xp);
|
Common.UI.Themes.setAvailable(!is_win_xp);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isActive: function () {
|
isActive: function () {
|
||||||
|
|
Loading…
Reference in a new issue