MDL-7861 xhtml transient fixes for not closed input fields - I hope all of them except imported libs are now fixed

This commit is contained in:
skodak 2007-01-08 19:34:16 +00:00
parent c0fe837eeb
commit 60af27037b
44 changed files with 197 additions and 197 deletions

View file

@ -111,11 +111,11 @@ function init_spell() {
<table border="0" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<input class="buttonDefault" type="button" value="Ignore" onClick="ignore_word();">
<input class="buttonDefault" type="button" value="Ignore" onClick="ignore_word();" />
</td>
<td>&nbsp;&nbsp;</td>
<td>
<input class="buttonDefault" type="button" value="Ignore All" onClick="ignore_all();">
<input class="buttonDefault" type="button" value="Ignore All" onClick="ignore_all();" />
</td>
</tr>
<tr>
@ -124,11 +124,11 @@ function init_spell() {
<tr>
<td>
<input class="buttonDefault" type="button" value="Replace" onClick="replace_word();">
<input class="buttonDefault" type="button" value="Replace" onClick="replace_word();" />
</td>
<td>&nbsp;&nbsp;</td>
<td>
<input class="buttonDefault" type="button" value="Replace All" onClick="replace_all();">
<input class="buttonDefault" type="button" value="Replace All" onClick="replace_all();" />
</td>
</tr>
<tr>
@ -136,11 +136,11 @@ function init_spell() {
</tr>
<tr>
<td>
<input class="buttonDefault" type="button" name="btnUndo" value="Undo" onClick="undo();" disabled>
<input class="buttonDefault" type="button" name="btnUndo" value="Undo" onClick="undo();" disabled />
</td>
<td>&nbsp;&nbsp;</td>
<td>
<input class="buttonDefault" type="button" value="Close" onClick="end_spell();">
<input class="buttonDefault" type="button" value="Close" onClick="end_spell();" />
</td>
</tr>
</table>

View file

@ -45,7 +45,7 @@ function postWords() {
bodyDoc.write('<p>Spell check in progress...</p>');
bodyDoc.write('<form action="'+speller.spellCheckScript+'" method="post">');
for( var i = 0; i < speller.textInputs.length; i++ ) {
bodyDoc.write('<input type="hidden" name="textinputs[]" value="'+encodeForPost(speller.textInputs[i].value)+'">');
bodyDoc.write('<input type="hidden" name="textinputs[]" value="'+encodeForPost(speller.textInputs[i].value)+'" />');
}
bodyDoc.write('</form>');
bodyDoc.write('</body>');

View file

@ -258,7 +258,7 @@ function _getWordObject( textIndex, wordIndex ) {
function _wordInputStr( word ) {
var str = '<input readonly ';
str += 'class="blend" type="text" value="' + word + '" size="' + word.length + '">';
str += 'class="blend" type="text" value="' + word + '" size="' + word.length + '" />';
return str;
}