check_logfiles: 3.7.5.1
[omd.git] / packages / pnp4nagios / patches / 0001-fix-seach-javascript.diff
blob6d47c112806eb40ad7c3aba836ede66595d24e01
1 diff --git a/share/pnp/application/views/search_box.php b/share/pnp/application/views/search_box.php
2 index c3d5521..b15c212 100644
3 --- a/share/pnp/application/views/search_box.php
4 +++ b/share/pnp/application/views/search_box.php
5 @@ -4,7 +4,7 @@
6 jQuery(function() {
7 jQuery("#query").autocomplete({
8 source: "<?php echo url::base('true')?>/index.php/ajax/search",
9 - select: function(event, ui) { window.location = <?php echo url::base('true')?> + "graph?host=" + ui.item.value }
10 + select: function(event, ui) { window.location = "<?php echo url::base('true')?>" + "graph?host=" + ui.item.value }
11 });
12 });
13 </script>