From 9abef64135cab2f6a3709cd25776a7536974bafd Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 29 Jan 2012 15:14:38 +0100 Subject: [PATCH] Check for stringchange after search results --- couchpotato/core/plugins/movie/static/search.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/couchpotato/core/plugins/movie/static/search.js b/couchpotato/core/plugins/movie/static/search.js index 03b17cef..82ba6d89 100644 --- a/couchpotato/core/plugins/movie/static/search.js +++ b/couchpotato/core/plugins/movie/static/search.js @@ -138,6 +138,9 @@ Block.Search = new Class({ self.movies[movie.imdb || 'r-'+Math.floor(Math.random()*10000)] = m }); + + if(q != self.q()) + self.list() },