Vergleich jscripts/inline_edit.js - 1.2.0 - 1.2.12

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 10Zeile 10
		this.options = options;
if(!options.className)
{

		this.options = options;
if(!options.className)
{

			alert('You need to specify either a className in the options.');

			alert('You need to specify a className in the options.');

			return false;
}
this.className = options.className;

			return false;
}
this.className = options.className;

Zeile 54Zeile 54
		Event.stop(e);
if(this.currentElement != '')
{

		Event.stop(e);
if(this.currentElement != '')
{

			//alert('not empty.. it is'+this.currentElement);

 
			return false;
}
// Fix for konqueror which likes to set event element as the text not the link

			return false;
}
// Fix for konqueror which likes to set event element as the text not the link

Zeile 64Zeile 63
		}
this.currentElement = element.id;
this.timeout = setTimeout(this.showTextbox.bind(this), 1200);

		}
this.currentElement = element.id;
this.timeout = setTimeout(this.showTextbox.bind(this), 1200);

		element.onmouseup = this.onMouseUp.bindAsEventListener(this);

		document.onmouseup = this.onMouseUp.bindAsEventListener(this);

		return false;
},


		return false;
},


Zeile 196Zeile 195
			if(!message[1])
{
message[1] = "An unknown error occurred.";

			if(!message[1])
{
message[1] = "An unknown error occurred.";

 
			}

if(this.spinnerImage)
{
this.hideSpinner();

			}
alert('There was an error performing the update.\n\n'+message[1]);
}

			}
alert('There was an error performing the update.\n\n'+message[1]);
}