mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Edit strings with \n in textarea
This commit is contained in:
@@ -391,6 +391,7 @@ function selectDblClick(td, event, text) {
|
||||
return;
|
||||
}
|
||||
var original = td.innerHTML;
|
||||
text = text || /\n/.test(original);
|
||||
var input = document.createElement(text ? 'textarea' : 'input');
|
||||
input.onkeydown = function (event) {
|
||||
if (!event) {
|
||||
|
Reference in New Issue
Block a user