mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 06:29:53 +01:00
Prevent form submit on plugin page
This commit is contained in:
parent
cbba7876c9
commit
6d6ddd7f9f
1 changed files with 5 additions and 0 deletions
|
@ -132,6 +132,11 @@ $(document).ready(function () {
|
||||||
search($("#search-query").val());
|
search($("#search-query").val());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Prevent form submit
|
||||||
|
$('#search-query').parent().bind('submit', function() {
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
// update & install
|
// update & install
|
||||||
$(".do-install, .do-update").unbind('click').click(function (e) {
|
$(".do-install, .do-update").unbind('click').click(function (e) {
|
||||||
var $row = $(e.target).closest("tr")
|
var $row = $(e.target).closest("tr")
|
||||||
|
|
Loading…
Reference in a new issue