--- a/includes/clientside/tinymce/themes/advanced/source_editor.htm Mon May 05 20:06:37 2008 -0400
+++ b/includes/clientside/tinymce/themes/advanced/source_editor.htm Mon May 05 20:08:44 2008 -0400
@@ -7,7 +7,7 @@
<base target="_self" />
</head>
<body onresize="resizeInputs();" style="display:none; overflow:hidden;">
- <form name="source" onsubmit="saveContent();" action="#">
+ <form name="source" onsubmit="saveContent();return false;" action="#">
<div style="float: left" class="title">{#advanced_dlg.code_title}</div>
<div id="wrapline" style="float: right">
@@ -16,11 +16,11 @@
<br style="clear: both" />
- <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off"></textarea>
+ <textarea name="htmlSource" id="htmlSource" rows="15" cols="100" style="width: 100%; height: 100%; font-family: 'Courier New',Courier,monospace; font-size: 12px;" dir="ltr" wrap="off" class="mceFocus"></textarea>
<div class="mceActionPanel">
<div style="float: left">
- <input type="button" name="insert" value="{#update}" onclick="saveContent();" id="insert" />
+ <input type="submit" name="insert" value="{#update}" id="insert" />
</div>
<div style="float: right">