mirror of https://github.com/Sonarr/Sonarr
Fixed: new series searching is less restrictive
This commit is contained in:
parent
a7cabc49b4
commit
57a6e39669
|
@ -57,7 +57,13 @@ define(
|
||||||
|
|
||||||
this.$el.addClass(this.className);
|
this.$el.addClass(this.className);
|
||||||
|
|
||||||
this.ui.seriesSearch.keypress(function () {
|
this.ui.seriesSearch.keyup(function (e) {
|
||||||
|
|
||||||
|
//Ignore special keys: http://www.javascripter.net/faq/keycodes.htm
|
||||||
|
if (_.contains([9, 16, 17, 18, 19, 20, 33, 34, 35, 36, 37, 38, 39, 40, 91, 92, 93 ], e.keyCode)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
self.searchResult.close();
|
self.searchResult.close();
|
||||||
self._abortExistingSearch();
|
self._abortExistingSearch();
|
||||||
self.throttledSearch({
|
self.throttledSearch({
|
||||||
|
|
Loading…
Reference in New Issue