Add UI wrapper for Webutil.init_logging
This commit is contained in:
parent
394ad22be9
commit
aa90547519
|
@ -191,7 +191,7 @@ var UI;
|
||||||
|
|
||||||
// Settings with immediate effects
|
// Settings with immediate effects
|
||||||
UI.initSetting('logging', 'warn');
|
UI.initSetting('logging', 'warn');
|
||||||
WebUtil.init_logging(UI.getSetting('logging'));
|
UI.updateLogging();
|
||||||
|
|
||||||
// if port == 80 (or 443) then it won't be present and should be
|
// if port == 80 (or 443) then it won't be present and should be
|
||||||
// set manually
|
// set manually
|
||||||
|
@ -868,7 +868,7 @@ var UI;
|
||||||
UI.saveSetting('reconnect_delay');
|
UI.saveSetting('reconnect_delay');
|
||||||
|
|
||||||
// Settings with immediate (non-connected related) effect
|
// Settings with immediate (non-connected related) effect
|
||||||
WebUtil.init_logging(UI.getSetting('logging'));
|
UI.updateLogging();
|
||||||
UI.updateViewClip();
|
UI.updateViewClip();
|
||||||
UI.updateViewDrag();
|
UI.updateViewDrag();
|
||||||
//Util.Debug("<< settingsApply");
|
//Util.Debug("<< settingsApply");
|
||||||
|
@ -1701,6 +1701,10 @@ var UI;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
updateLogging: function() {
|
||||||
|
WebUtil.init_logging(UI.getSetting('logging'));
|
||||||
|
},
|
||||||
|
|
||||||
updateSessionSize: function(rfb, width, height) {
|
updateSessionSize: function(rfb, width, height) {
|
||||||
UI.updateViewClip();
|
UI.updateViewClip();
|
||||||
UI.updateViewDrag();
|
UI.updateViewDrag();
|
||||||
|
|
Loading…
Reference in New Issue