Vergleich jscripts/inline_edit.js - 1.6.1 - 1.6.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 115Zeile 115

this.textbox = document.createElement("input");
this.textbox.style.width = "95%";


this.textbox = document.createElement("input");
this.textbox.style.width = "95%";

		this.textbox.maxlength="85";

		this.textbox.maxLength="85";

		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);