mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 04:11:27 +02:00
Reset event handlers after cloning (thanks to Salko)
This commit is contained in:
@@ -55,8 +55,8 @@ function whisperClick(event) {
|
||||
* @this HTMLInputElement
|
||||
*/
|
||||
function emailFileChange() {
|
||||
this.onchange = function () { };
|
||||
var el = this.cloneNode(true);
|
||||
this.onchange = function () { };
|
||||
el.value = '';
|
||||
this.parentNode.appendChild(el);
|
||||
}
|
||||
|
Reference in New Issue
Block a user