Zeile 119 | Zeile 119 |
---|
this.textbox.className = "textbox"; this.textbox.type = "text"; Event.observe(this.textbox, "blur", this.onBlur.bindAsEventListener(this));
|
this.textbox.className = "textbox"; this.textbox.type = "text"; Event.observe(this.textbox, "blur", this.onBlur.bindAsEventListener(this));
|
Event.observe(this.textbox, "keypress", this.onKeyUp.bindAsEventListener(this));
| Event.observe(this.textbox, "keydown", this.onKeyUp.bindAsEventListener(this));
|
this.textbox.setAttribute("autocomplete", "off"); this.textbox.name = "value"; this.textbox.index = this.element.index;
| this.textbox.setAttribute("autocomplete", "off"); this.textbox.name = "value"; this.textbox.index = this.element.index;
|
Zeile 199 | Zeile 199 |
---|
cancelEdit: function() {
|
cancelEdit: function() {
|
| this.textbox.value = ''
|
Element.remove(this.textbox); this.testNode.innerHTML = this.cache; this.element = $(this.currentElement);
| Element.remove(this.textbox); this.testNode.innerHTML = this.cache; this.element = $(this.currentElement);
|