From 993bf094e7a8c894bfe3f6937756956ec2eeaa22 Mon Sep 17 00:00:00 2001 From: Dave West Date: Sun, 4 Nov 2007 23:59:12 +0000 Subject: [PATCH] Back out my change to add a delete button. Totally the wrong way to do it. --- webcit/static/controls.js | 7 ------- 1 file changed, 7 deletions(-) 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)); -- 2.39.2