forked from openlp/openlp
Enable searching in web remote by pressing enter when search bar is focused.
bzr-revno: 1849
This commit is contained in:
commit
b80e2ffa5b
@ -296,6 +296,12 @@ $("#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