silverstripe-reports/javascript/Newsletter_UploadForm.js

13 lines
214 B
JavaScript
Raw Normal View History

Behaviour.register({
'body' : {
onload: function() {
top.getElementById('ImportFile').frameLoaded( document );
}
},
'form input[type=file]' : {
onchange: function() {
this.form.submit();
}
}
});