fix
authorMarcin Koziej <marcin@lolownia.org>
Thu, 17 May 2012 14:00:19 +0000 (16:00 +0200)
committerMarcin Koziej <marcin@lolownia.org>
Thu, 17 May 2012 14:00:19 +0000 (16:00 +0200)
apps/wolnelektury_core/static/js/search.js

index d7b00c2..4d001e0 100644 (file)
@@ -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();
            }