mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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) {
|
if (parseInt(lineNumber) >= 1 && lineCount > 1) {
|
||||||
$("#custom_row_" + lineNumber).remove();
|
$("#custom_row_" + lineNumber).remove();
|
||||||
|
} else if (lineCount === 1) {
|
||||||
|
$("#custom_row_" + lineNumber).find('input').each(function() {
|
||||||
|
$(this).val('');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lineCount === 1) {
|
if (lineCount === 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user