1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-25 15:31:15 +02:00

Move inline event handlers to <script>

This commit is contained in:
Jakub Vrana
2018-01-12 16:05:14 +01:00
parent e645693147
commit efcf37d162
2 changed files with 7 additions and 4 deletions

View File

@@ -392,6 +392,7 @@ function partitionByChange() {
function partitionNameChange() {
var row = cloneNode(parentTag(this, 'tr'));
row.firstChild.firstChild.value = '';
row.firstChild.firstChild.onchange = this.onchange;
parentTag(this, 'table').appendChild(row);
this.onchange = function () {};
}