mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-08-26 06:01:49 +02:00
Add onbeforeunload
This commit is contained in:
parent
abc2d4cb33
commit
82c46054e7
@ -270,6 +270,10 @@ draft: false
|
||||
}
|
||||
await reloadStat()
|
||||
}
|
||||
async function submitdat(){
|
||||
window.onbeforeunload = () => {return '';}
|
||||
await reloadContent();
|
||||
}
|
||||
</script>
|
||||
{{< getDataFilesName >}}
|
||||
<p>
|
||||
@ -288,7 +292,7 @@ draft: false
|
||||
<li>Now you can see the list of selected data and some statistics about these data</li>
|
||||
</ol>
|
||||
</p>
|
||||
<form id="form_dat" action="javascript:reloadContent()" method="post">
|
||||
<form id="form_dat" action="javascript:submitdat()" method="post">
|
||||
<fieldset>
|
||||
<legend>Data type</legend>
|
||||
<input type="radio" id="abs" value="abs" name="datatype">
|
||||
|
Loading…
Reference in New Issue
Block a user