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 54 | Zeile 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 64 | 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 152 | 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 196 | 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]); }
|