mirror of
https://github.com/vrana/adminer.git
synced 2025-08-27 08:14:35 +02:00
Don't delete value if there's a problem with inline edit of a long field
This commit is contained in:
@@ -610,7 +610,7 @@ function selectClick(td, event, text, warning) {
|
|||||||
input.focus();
|
input.focus();
|
||||||
if (text == 2) { // long text
|
if (text == 2) { // long text
|
||||||
return ajax(location.href + '&' + encodeURIComponent(td.id) + '=', function (request) {
|
return ajax(location.href + '&' + encodeURIComponent(td.id) + '=', function (request) {
|
||||||
if (request.status) {
|
if (request.status && request.responseText) {
|
||||||
input.value = request.responseText;
|
input.value = request.responseText;
|
||||||
input.name = td.id;
|
input.name = td.id;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user