1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-26 07:44:37 +02:00

Return false from editingRemoveRow

This commit is contained in:
Jakub Vrana
2018-01-12 16:06:00 +01:00
parent efcf37d162
commit 068ee71bf7
3 changed files with 4 additions and 4 deletions

View File

@@ -258,14 +258,14 @@ function editingAddRow(focus) {
/** Remove table row for field
* @param string
* @return boolean
* @return boolean false
* @this HTMLInputElement
*/
function editingRemoveRow(name) {
var field = formField(this.form, this.name.replace(/[^\[]+(.+)/, name));
field.parentNode.removeChild(field);
parentTag(this, 'tr').style.display = 'none';
return true;
return false;
}
/** Move table row for field