Don't delete value if there's a problem with inline edit of a long field

This commit is contained in:
Jakub Vrana 2014-01-08 23:06:53 -08:00
parent c8305c4cf5
commit 39a68b9b14

View file

@ -610,7 +610,7 @@ function selectClick(td, event, text, warning) {
input.focus();
if (text == 2) { // long text
return ajax(location.href + '&' + encodeURIComponent(td.id) + '=', function (request) {
if (request.status) {
if (request.status && request.responseText) {
input.value = request.responseText;
input.name = td.id;
}