function setEditMode() {\r
switchMode.blur(); // htmlview\r
if (switchMode.checked == true) {\r
- ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = btnPost.disabled = true;\r
- btnPost.className = 'disabled';\r
+ ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = true;\r
doc.style.fontFamily = "Courier";\r
doc.style.fontSize = "10px";\r
RichEditor.txtView = false;\r
doc.innerText = codeSweeper();\r
doc.innerHTML = ccParser(doc.innerHTML);\r
+ alert("Remember to uncheck this Source box again before saving your changes!!");\r
} else {\r
- ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = btnPost.disabled = false;\r
+ ctlStyle.disabled = ctlFont.disabled = ctlSize.disabled = false;\r
doc.style.fontFamily = doc.style.fontSize = "";\r
- btnPost.className = '';\r
RichEditor.txtView = true;\r
doc.focus();\r
doc.innerHTML = doc.innerText;\r