[pve-devel] [PATCH 1/2] Fix a bug where the autoloading of syslog entries was not working.

2015-06-08 Thread Emmanuel Kasper
It looks that after adding the !DOCTYPE html HTML5 doctype, setStyle() is not working properly with ExtJS4, although is is the recommended doctype. Hence we switch to applyStyles() instead of setStyle(). --- www/manager/panel/LogView.js | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

Re: [pve-devel] [PATCH 1/2] Fix a bug where the autoloading of syslog entries was not working.

2015-06-08 Thread Dietmar Maurer
From what I see, setStyle still works as expected, but you need to pass the unit. For example the following works for me: - el.setStyle('padding-top', start*me.lineHeight); + el.setStyle('padding-top', start*me.lineHeight + 'px'); I found the following ways to set the style