diff options
author | Stefan <mu.stefan@googlemail.com> | 2015-01-18 12:15:41 +0100 |
---|---|---|
committer | Stefan <mu.stefan@googlemail.com> | 2015-01-18 12:15:41 +0100 |
commit | 6d6ddd7f9f06d6cbf71ee3e1cff0f7b501432f4d (patch) | |
tree | b744af8d61ad465a29aa2065df4dd6781c63d27d /src/static/js/admin | |
parent | cbba7876c9c9dd633279968d813af889b7340513 (diff) | |
download | etherpad-lite-6d6ddd7f9f06d6cbf71ee3e1cff0f7b501432f4d.zip |
Prevent form submit on plugin page
Diffstat (limited to 'src/static/js/admin')
-rw-r--r-- | src/static/js/admin/plugins.js | 5 |
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) { |