2008-10-15, 12:05 PM
(2008-10-14, 11:10 PM)Ryan Gordon Wrote: Thanksit seems it doesn't mess up other browsers.
(2008-10-14, 11:07 PM)neverendingo Wrote: This fix only applies for konqueror, as most of the other browsers seem to work already.
Okay, but implementing it in the CSS doesn't mess up any other browsers as far as your able to tell?
I'd assume it wouldn't but you can never be too sure
But a user of our board told us a nicer solution, i will quote him:
Quote:I just recommended the CSS because I thought it is the easiest for the KDE forums, without fiddling with the JS and trying it out in all browsers.I will try that first at my local copy, but i guess he is right, as i see that one of the message boxes has no attributes like that at all.
I cannot try it at the moment, but usually the right fix would be to modify editor.js so it sets the "cols" and "rows" attribute programatically from the values of the existing one. So in the part where you do
textInput = document.createElement("textarea");
You should also do
textInput.setAttribute("cols", oldTextbox.getAttribute("cols"));
and the same for the rows.
forum.kde.org
Communicate.
Communicate.