Vergleich jscripts/inline_edit.js - 1.2.2 - 1.2.7

  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 63Zeile 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 195Zeile 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]);
}