Skip to content

Commit

Permalink
Removed references to btnPost because I don't use it
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Oct 12, 2002
1 parent c9dda99 commit 84f98bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/rte/rte_editmode.js
Expand Up @@ -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;
Expand Down

0 comments on commit 84f98bc

Please sign in to comment.