summaryrefslogtreecommitdiff
path: root/src/static/js/admin
diff options
context:
space:
mode:
authorStefan <mu.stefan@googlemail.com>2015-01-18 12:15:41 +0100
committerStefan <mu.stefan@googlemail.com>2015-01-18 12:15:41 +0100
commit6d6ddd7f9f06d6cbf71ee3e1cff0f7b501432f4d (patch)
treeb744af8d61ad465a29aa2065df4dd6781c63d27d /src/static/js/admin
parentcbba7876c9c9dd633279968d813af889b7340513 (diff)
downloadetherpad-lite-6d6ddd7f9f06d6cbf71ee3e1cff0f7b501432f4d.zip
Prevent form submit on plugin page
Diffstat (limited to 'src/static/js/admin')
-rw-r--r--src/static/js/admin/plugins.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js
index 8a4c732e..15406f5f 100644
--- a/src/static/js/admin/plugins.js
+++ b/src/static/js/admin/plugins.js
@@ -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) {