From: Marcin Koziej Date: Thu, 17 May 2012 14:00:19 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/aec2bdeb1ec2150733733c7e5bdb6cb148ce0707?ds=inline;hp=--cc fix --- aec2bdeb1ec2150733733c7e5bdb6cb148ce0707 diff --git a/apps/wolnelektury_core/static/js/search.js b/apps/wolnelektury_core/static/js/search.js index d7b00c2d0..4d001e0c0 100644 --- a/apps/wolnelektury_core/static/js/search.js +++ b/apps/wolnelektury_core/static/js/search.js @@ -25,7 +25,7 @@ var __bind = function (self, fn) { enter: function(event, ui) { if (ui.item.url != undefined) { - location.href = ui.item.url; + location.href = this.options.host+ui.item.url; } else { this.element.closest('form').submit(); }