1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 05:25:56 +00:00

search dialog improvements, main toolbar overhaul

This commit is contained in:
Andrew Dolgov
2006-05-21 05:28:51 +01:00
parent ea0e4caf80
commit 86b682ce2f
7 changed files with 223 additions and 124 deletions

View File

@@ -920,7 +920,7 @@ function leading_zero(p) {
return s;
}
function closeInfoBox() {
function closeInfoBox(cleanup) {
var box = document.getElementById('infoBox');
var shadow = document.getElementById('infoBoxShadow');
@@ -930,6 +930,8 @@ function closeInfoBox() {
box.style.display = "none";
}
if (cleanup) box.innerHTML = " ";
enableHotkeys();
}
@@ -1032,3 +1034,18 @@ function qafAdd() {
xmlhttp.send(null);
}
function filterCR(e)
{
var key;
if(window.event)
key = window.event.keyCode; //IE
else
key = e.which; //firefox
if(key == 13)
return false;
else
return true;
}