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:
19
functions.js
19
functions.js
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user