Zeile 251 | Zeile 251 |
---|
// Create text area textInput = document.createElement("textarea");
|
// Create text area textInput = document.createElement("textarea");
|
| textInput.setAttribute("cols", oldTextarea.getAttribute("cols")); textInput.setAttribute("rows", oldTextarea.getAttribute("rows"));
|
textInput.id = this.textarea; textInput.name = oldTextarea.name+"_new"; textInput.style.height = parseInt(areaContainer.style.height)+"px";
| textInput.id = this.textarea; textInput.name = oldTextarea.name+"_new"; textInput.style.height = parseInt(areaContainer.style.height)+"px";
|
Zeile 291 | Zeile 293 |
---|
}.bindAsEventListener(this)); Event.observe($(this.textarea), 'blur', function() { this.trackingCaret = false;
|
}.bindAsEventListener(this)); Event.observe($(this.textarea), 'blur', function() { this.trackingCaret = false;
|
}.bindAsEventListener(this)); Event.observe($(this.textarea), 'keyup', function() { this.trackingCaret = true; this.storeCaret();
| |
}.bindAsEventListener(this)); Event.observe($(this.textarea), 'mousedown', function() { this.trackingCaret = true;
| }.bindAsEventListener(this)); Event.observe($(this.textarea), 'mousedown', function() { this.trackingCaret = true;
|