Don't try to use undefined response

This commit is contained in:
Ruud committed 2013-08-31 17:48:19 +02:00
1 parent 5180426fc1
commit 700713abcf
1 file changed
+2
@@ -44,6 +44,8 @@ var SuggestList = new Class({
var self = this; var self = this;
if(!json) return;
Object.each(json.suggestions, function(movie){ Object.each(json.suggestions, function(movie){
var m = new Block.Search.Item(movie, { var m = new Block.Search.Item(movie, {