reminder/app/static/js/reminder.js

7 lines
288 B
JavaScript
Raw Permalink Normal View History

document.addEventListener("DOMContentLoaded", function(event) {
document.getElementById('icsfile').addEventListener("change", function(e){
var filename = this.value.replace(/^.*[\\\/]/, '');
document.getElementById('filename').setAttribute('data-content', filename);
});
});