Vergleich jscripts/inline_edit.js - 1.6.8 - 1.6.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 119Zeile 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 199Zeile 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);