forked from openlp/openlp
Enable search by pressing enter in web remote.
This commit is contained in:
parent
d701316923
commit
bfd0708f3a
@ -285,6 +285,8 @@ $("#controller-top-unblank, #controller-btm-unblank").live("click", OpenLP.unbla
|
|||||||
$("#alert-submit").live("click", OpenLP.showAlert);
|
$("#alert-submit").live("click", OpenLP.showAlert);
|
||||||
// Search
|
// Search
|
||||||
$("#search-submit").live("click", OpenLP.search);
|
$("#search-submit").live("click", OpenLP.search);
|
||||||
|
$("#search-text").live("keypress", function(event){
|
||||||
|
if (event.which == 13) { OpenLP.search(event); }});
|
||||||
$("#go-live").live("click", OpenLP.goLive);
|
$("#go-live").live("click", OpenLP.goLive);
|
||||||
$("#add-to-service").live("click", OpenLP.addToService);
|
$("#add-to-service").live("click", OpenLP.addToService);
|
||||||
// Poll the server twice a second to get any updates.
|
// Poll the server twice a second to get any updates.
|
||||||
|
Loading…
Reference in New Issue
Block a user