diff --git a/k4ever/media/js/k4ever.js b/k4ever/media/js/k4ever.js index 76176dc..3a6aa39 100644 --- a/k4ever/media/js/k4ever.js +++ b/k4ever/media/js/k4ever.js @@ -1,8 +1,8 @@ jQuery(document).ready(function($) { - + if(!$("html").hasClass("loggedIn")) return; - + var search_input = $("div.search input.autocomplete"); var selected_item = []; var selection = false; @@ -15,7 +15,7 @@ jQuery(document).ready(function($) { $.each(data, function(key, item) { items[item.id] = item; - + source.push({ value: item.id, label: "