Zeile 10 | Zeile 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 63 | Zeile 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 151 | Zeile 151 |
---|
{ this.testNode.innerHTML = this.cache; this.element = $(this.currentElement);
|
{ this.testNode.innerHTML = this.cache; this.element = $(this.currentElement);
|
this.element.innerHTML = newValue;
| this.element.innerHTML = MyBB.HTMLchars(newValue);
|
this.element.onmousedown = this.onMouseDown.bindAsEventListener(this); this.lastElement = this.currentElement; postData = "value="+encodeURIComponent(newValue);
| this.element.onmousedown = this.onMouseDown.bindAsEventListener(this); this.lastElement = this.currentElement; postData = "value="+encodeURIComponent(newValue);
|
Zeile 195 | Zeile 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]); }
|