mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-14 02:56:52 -04:00
Merge c370f779cc
into a42f220ee2
This commit is contained in:
commit
3289354f7a
1 changed files with 8 additions and 0 deletions
|
@ -29,6 +29,14 @@ $(document).ready(function () {
|
|||
$("#progress.dialog").hide();
|
||||
});
|
||||
|
||||
$("form").submit(function(){
|
||||
var query = $('.search-results').data('query');
|
||||
query.pattern = $("#search-query")[0].value;
|
||||
query.offset = 0;
|
||||
search();
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#do-search").unbind('click').click(function () {
|
||||
var query = $('.search-results').data('query');
|
||||
query.pattern = $("#search-query")[0].value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue