0
0

Modified function name

This commit is contained in:
Bryan 2019-06-02 09:32:36 +02:00
parent 7dd72e6b92
commit ed20989e14
No known key found for this signature in database
GPG Key ID: 6CB4C49B61AD50EF
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
function urlinsert() {
function insertNewURL() {
var url = document.getElementById ( "form-url" ).value;
var xhr = new XMLHttpRequest ( );
xhr.open ( "POST", 'insert', true );

View File

@ -30,7 +30,7 @@
?>
</div>
<input type="text" id="form-url" placeholder="URL:">
<button onclick="urlinsert()">Insert new URL</button><br>
<button onclick="insertNewURL()">Insert new URL</button><br>
<div id="responsetext"></div>
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/manage.js"></script>
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/logout.js"></script>