Prevent form submit on plugin page

pull/2464/head
Stefan 2015-01-18 12:15:41 +01:00
parent cbba7876c9
commit 6d6ddd7f9f
1 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,11 @@ $(document).ready(function () {
$("#search-query").unbind('keyup').keyup(function () {
search($("#search-query").val());
});
// Prevent form submit
$('#search-query').parent().bind('submit', function() {
return false;
});
// update & install
$(".do-install, .do-update").unbind('click').click(function (e) {