Fixed issue with single line
This commit is contained in:
parent
f8f6016c21
commit
e17b63e6fc
|
@ -1004,6 +1004,10 @@ class ExternalTools extends HTML
|
|||
|
||||
if (parseInt(lineNumber) >= 1 && lineCount > 1) {
|
||||
$("#custom_row_" + lineNumber).remove();
|
||||
} else if (lineCount === 1) {
|
||||
$("#custom_row_" + lineNumber).find('input').each(function() {
|
||||
$(this).val('');
|
||||
});
|
||||
}
|
||||
|
||||
if (lineCount === 1) {
|
||||
|
|
Loading…
Reference in New Issue