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

Use oninput instead of onchange

This commit is contained in:
Jakub Vrana
2018-01-12 22:18:54 +01:00
parent 259a465125
commit 40abffe8de
5 changed files with 8 additions and 8 deletions

View File

@@ -298,7 +298,7 @@ function editingTypeChange() {
)) {
el.value = '';
}
el.onchange.apply(el);
el.oninput.apply(el);
}
if (lastType == 'timestamp' && el.name == name + '[has_default]' && /timestamp/i.test(formField(type.form, name + '[default]').value)) {
el.checked = false;
@@ -390,7 +390,7 @@ function partitionNameChange() {
var row = cloneNode(parentTag(this, 'tr'));
row.firstChild.firstChild.value = '';
parentTag(this, 'table').appendChild(row);
this.onchange = function () {};
this.oninput = function () {};
}