]> git.mjollnir.org Git - moodle.git/commit
htmlarea: Fix fullscreen editor on IE6/7 -- MDL-11242
authormartinlanghoff <martinlanghoff>
Mon, 12 Nov 2007 04:13:24 +0000 (04:13 +0000)
committermartinlanghoff <martinlanghoff>
Mon, 12 Nov 2007 04:13:24 +0000 (04:13 +0000)
commit755a625d95b06c118d652395c62d974591d058af
tree38ace6a063409f241b600c8cfa0e81b82c48a493
parent914ea0028a0316063b1789bbb5bc7c4eac461649
htmlarea: Fix fullscreen editor on IE6/7 -- MDL-11242

Only say px if the width is a pure number. Under IE we
get the "100%" for the width of the editor, so blindly
appending "px" results in a JS execution error.

With this patch we only attach px if it's a pure int.

Also tested the sizing of HTMLArea in the messaging
window. So both should be working now.
lib/editor/htmlarea/htmlarea.php