Skip to content
Snippets Groups Projects
Commit 14dddc0c authored by Jakob Sack's avatar Jakob Sack
Browse files

forgot "event" as a parameter.

parent 1cab3ca9
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ $(document).ready(function() {
source: "../../files/ajax/autocomplete.php",
minLength: 1
});
$("button.delete").live('click', function() {
$("button.delete").live('click', function( event ) {
event.preventDefault();
var token=$(this).attr('data-token');
var data="token="+token;
......@@ -22,7 +22,7 @@ $(document).ready(function() {
}
});
});
$('#newlink').submit(function(){
$('#newlink').submit(function( event ){
event.preventDefault();
var path=$('#path').val();
var expire=$('#expire_time').val()||0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment