directive.logdb.export.js update

window.open(downloadurl);  ->
window.location.href = downloadurl;