Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for http://bugs.yacy.net/view.php?id=69

apfelmaennchen62e674af507f
diff --git a/htroot/YMarks.html b/htroot/YMarks.html
index 5665beeb1..ee7946aa9 100644
--- a/htroot/YMarks.html
+++ b/htroot/YMarks.html
@@ -174,7 +174,7 @@
.html(HTMLenc(tag)+' ')
.appendTo('#ymarks_tagcloud')
.bind('click', function() {
- var qtag = $(this).text().replace(/\s+/g,"");
+ var qtag = $(this).text().replace(/\s+$/g,"");
$('#ymarks_flexigrid').flexOptions({
query: qtag,
qtype: "_tags",
@@ -322,8 +322,9 @@
<input type="radio" name="importer" value="json" /> Firefox JSON<br />
<input type="radio" name="importer" value="xbel" /> XBEL<br />
<input type="radio" name="importer" value="surro" /> Surrogate XML<br />
+ <input type="radio" name="importer" value="dmoz" disabled="disabled" /> DMOZ XML<br />
<input type="radio" name="importer" value="list" disabled="disabled"/> YaCy White/Black List<br />
- <input type="radio" name="importer" value="crawls" disabled="disabled"/> YaCy bookmarks.db<br />
+ <input type="radio" name="importer" value="bmks" disabled="disabled"/> YaCy bookmarks.db<br />
<input type="radio" name="importer" value="crawls" disabled="disabled"/> YaCy Crawl-Starts<br />
</p>
<p>
diff --git a/htroot/jquery/css/yacy-portalsearch.css b/htroot/jquery/css/yacy-portalsearch.css
index 782085bcd..e9e462d68 100644
--- a/htroot/jquery/css/yacy-portalsearch.css
+++ b/htroot/jquery/css/yacy-portalsearch.css
@@ -4,6 +4,12 @@
.ui-dialog .ui-dialog-buttonpane button {
font-size: 14px;
}
+.ui-autocomplete {
+ max-height: 350px;
+ overflow-y: auto;
+ overflow-x: hidden;
+ font-size: 1.0em;
+}
.ynav .ui-autocomplete-input {
font-size: 14px;
padding: 2px;
@@ -27,12 +33,6 @@
text-align: left;
font-size: 10px;
}
-.ui-autocomplete {
- max-height: 350px;
- overflow-y: auto;
- overflow-x: hidden;
- font-size: 1.0em;
-}
#yacylivesearch form * {
display: inline;
diff --git a/htroot/jquery/css/yacy-ymarks.css b/htroot/jquery/css/yacy-ymarks.css
index 33e01b26e..81c02396f 100644
--- a/htroot/jquery/css/yacy-ymarks.css
+++ b/htroot/jquery/css/yacy-ymarks.css
@@ -23,33 +23,33 @@
}
/* YaCy Bookmarks ---------------------------*/
-#ymarks_body .url {
+#ymarks_flexigrid .url {
padding-top: 1px;
font-size: 0.9em;
line-height: 1.2em;
margin-bottom:0.6em;
}
-#ymarks_body h3.linktitle {
+#ymarks_flexigrid h3.linktitle {
margin-top:2px;
margin-bottom: -0.5em;
font-size: 1.0em;
line-height: 1.2em;
color:#239AFF;
}
-#ymarks_body h3.linktitle a {
+#ymarks_flexigrid h3.linktitle a {
color:#239AFF;
text-decoration:none;
}
-#ymarks_body p.url a {
+#ymarks_flexigrid p.url a {
color:#20A020;
text-decoration:none;
}
-#ymarks_body .tag {
+#ymarks_flexigrid .tag {
font-size: 1.1em;
line-height: 1.3em;
color:#20A020;
}
-#ymarks_body .desc {
+#ymarks_flexigrid .desc {
font-style:italic;
font-size: 0.9em;
color: #808080;
diff --git a/htroot/jquery/js/yacy-portalsearch.js b/htroot/jquery/js/yacy-portalsearch.js
index df72045f5..d3d0a5021 100644
--- a/htroot/jquery/js/yacy-portalsearch.js
+++ b/htroot/jquery/js/yacy-portalsearch.js
@@ -120,19 +120,19 @@ function yrun() {
$("#yquery").setValue('');
},
drag: function(event, ui) {
- var position = $(".ui-dialog").position();
- var left = $(".ui-dialog").width()+5+position.left;
+ var position = $("#ypopup").parent(".ui-dialog").position();
+ var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left;
$("#yside").dialog('option', 'position', [left,position.top+32]);
},
dragStop: function(event, ui) {
- var position = $(".ui-dialog").position();
- var left = $(".ui-dialog").width()+5+position.left;
+ var position = $("#ypopup").parent(".ui-dialog").position();
+ var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left;
$("#yside").dialog('option', 'position', [left,position.top+32]);
},
resizeStop: function(event, ui) {
- var position = $(".ui-dialog").position();
- var height = $(".ui-dialog").height()-55;
- var left = $(".ui-dialog").width()+5+position.left;
+ var position = $("#ypopup").parent(".ui-dialog").position();
+ var height = $("#ypopup").parent(".ui-dialog").height()-55;
+ var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left;
$("#yside").dialog('option', 'height', height);
$("#yside").dialog('option', 'position', [left,position.top+32]);
},
@@ -141,22 +141,22 @@ function yrun() {
$('#yside').remove();
},
open: function(event, ui) {
- $('<div id="yside" style="padding:0px;"></div>').insertAfter(".ui-dialog-content");
- var position = $(".ui-dialog").position();
+ $('<div id="yside" style="padding:0px;"></div>').insertAfter("#ypopup").parent(".ui-dialog-content");
+ var position = $("#ypopup").parent(".ui-dialog").position();
$("#yside").dialog({
title: 'Navigation',
autoOpen: false,
draggable: false,
resizable: false,
width: 220,
- height: $(".ui-dialog").height()-55,
- minHeight: $(".ui-dialog").height()-55,
+ height: $("#ypopup").parent(".ui-dialog").height()-55,
+ minHeight: $("#ypopup").parent(".ui-dialog").height()-55,
show: 'slide',
hide: 'slide',
- position : [position.left+$(".ui-dialog").width()+5,position.top+32],
+ position : [position.left+$("#ypopup").parent(".ui-dialog").width()+5,position.top+32],
open: function(event, ui) {
$('div.ui-widget-shadow').remove();
- $('ypopup').dialog( 'moveToTop' );
+ $('#ypopup').dialog( 'moveToTop' );
}
});
$('.ui-widget-shadow').remove();