rem: okButton = document.createElement("input"); okButton.type = "submit"; okButton.value = this.options.okText; this.form.appendChild(okButton); 
add: if (this.options.okButton) { okButton = document.createElement("input"); okButton.type = "submit"; okButton.value = this.options.okText; this.form.appendChild(okButton); } 
context:   createForm: function() {    this.form = document.createElement("form");    this.form.id = this.options.formId;    Element.addClassName(this.form, this.options.formClassName)    this.form.onsubmit = this.onSubmit.bind(this);    this.createEditField();    if (this.options.textarea) {      var br = document.createElement("br");      this.form.appendChild(br);    }    okButton = document.createElement("input");    okButton.type = "submit";    okButton.value = this.options.okText;    this.form.appendChild(okButton);    cancelLink = document.createElement("a");    cancelLink.href = "#";    cancelLink.appendChild(document.createTextNode(this.options.cancelText));    cancelLink.onclick = this.onclickCancel.bind(this);    this.form.appendChild(cancelLink);  },
meta: 4973	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4973/4aa026a4c3550e7051fff79a69c84aea734cffa1/controls.js/buggy/src/controls.js