Modified function name
This commit is contained in:
parent
7dd72e6b92
commit
ed20989e14
@ -1,4 +1,4 @@
|
|||||||
function urlinsert() {
|
function insertNewURL() {
|
||||||
var url = document.getElementById ( "form-url" ).value;
|
var url = document.getElementById ( "form-url" ).value;
|
||||||
var xhr = new XMLHttpRequest ( );
|
var xhr = new XMLHttpRequest ( );
|
||||||
xhr.open ( "POST", 'insert', true );
|
xhr.open ( "POST", 'insert', true );
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" id="form-url" placeholder="URL:">
|
<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>
|
<div id="responsetext"></div>
|
||||||
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/manage.js"></script>
|
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/manage.js"></script>
|
||||||
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/logout.js"></script>
|
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/logout.js"></script>
|
||||||
|
Reference in New Issue
Block a user