Removed references to btnPost because I don't use it

This commit is contained in:
moodler
2002-10-12 03:54:56 +00:00
parent c9dda99059
commit 84f98bc8a9
+3 -4
View File
@@ -60,17 +60,16 @@
function setEditMode() {
switchMode.blur(); // htmlview
if (switchMode.checked == true) {
ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = btnPost.disabled = true;
btnPost.className = 'disabled';
ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = true;
doc.style.fontFamily = "Courier";
doc.style.fontSize = "10px";
RichEditor.txtView = false;
doc.innerText = codeSweeper();
doc.innerHTML = ccParser(doc.innerHTML);
alert("Remember to uncheck this Source box again before saving your changes!!");
} else {
ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = btnPost.disabled = false;
ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = false;
doc.style.fontFamily = doc.style.fontSize = "";
btnPost.className = '';
RichEditor.txtView = true;
doc.focus();
doc.innerHTML = doc.innerText;