mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 00:31:28 +00:00
add infobox overlay, layout fixes
This commit is contained in:
14
functions.js
14
functions.js
@@ -1319,6 +1319,14 @@ function leading_zero(p) {
|
||||
}
|
||||
|
||||
function closeInfoBox(cleanup) {
|
||||
|
||||
if (!is_msie()) {
|
||||
var overlay = document.getElementById("dialog_overlay");
|
||||
if (overlay) {
|
||||
overlay.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
var box = document.getElementById('infoBox');
|
||||
var shadow = document.getElementById('infoBoxShadow');
|
||||
|
||||
@@ -1375,6 +1383,12 @@ function infobox_submit_callback() {
|
||||
|
||||
function infobox_callback() {
|
||||
if (xmlhttp.readyState == 4) {
|
||||
var overlay = document.getElementById("dialog_overlay");
|
||||
|
||||
if (overlay) {
|
||||
overlay.style.display = "block";
|
||||
}
|
||||
|
||||
var box = document.getElementById('infoBox');
|
||||
var shadow = document.getElementById('infoBoxShadow');
|
||||
if (box) {
|
||||
|
||||
Reference in New Issue
Block a user