From: Dave West Date: Sun, 4 Nov 2007 23:59:12 +0000 (+0000) Subject: Back out my change to add a delete button. Totally the wrong way to do X-Git-Tag: v7.86~2843 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=993bf094e7a8c894bfe3f6937756956ec2eeaa22;p=citadel.git Back out my change to add a delete button. Totally the wrong way to do it. --- diff --git a/webcit/static/controls.js b/webcit/static/controls.js index 6293b14be..43cdb3eaa 100644 --- a/webcit/static/controls.js +++ b/webcit/static/controls.js @@ -456,8 +456,6 @@ Ajax.InPlaceEditor.prototype = { this.element = $(element); this.options = Object.extend({ - delText: "delete", - deleteingText: "Deleteing", okText: "ok", cancelText: "cancel", savingText: "Saving...", @@ -543,11 +541,6 @@ Ajax.InPlaceEditor.prototype = { okButton.value = this.options.okText; form.appendChild(okButton); - delButton = document.createElement("input"); - delButton.type = "submit"; - delButton.value = this.options.delText; - form.appendChild(delButton); - cancelLink = document.createElement("a"); cancelLink.href = "#"; cancelLink.appendChild(document.createTextNode(this.options.cancelText));