diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-06-19 14:23:24 +0200 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-06-19 14:23:24 +0200 |
commit | 14dddc0c9e116874b76bdf5965cd2c1b0e4d2e5e (patch) | |
tree | e7255bf435515eabc4dae06108c93e2c5fa4517c /apps | |
parent | 1cab3ca92cf07f7e4d7402fae7cf49e1e489b14f (diff) | |
download | nextcloud-server-14dddc0c9e116874b76bdf5965cd2c1b0e4d2e5e.tar.gz nextcloud-server-14dddc0c9e116874b76bdf5965cd2c1b0e4d2e5e.zip |
forgot "event" as a parameter.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_publiclink/js/admin.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_publiclink/js/admin.js b/apps/files_publiclink/js/admin.js index 9a0bad604a2..21857718149 100644 --- a/apps/files_publiclink/js/admin.js +++ b/apps/files_publiclink/js/admin.js @@ -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; |