mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 06:15:54 +00:00
new hidden param, _INFOBOX_DISABLE_OVERLAY
This commit is contained in:
10
functions.js
10
functions.js
@@ -1320,7 +1320,7 @@ function leading_zero(p) {
|
||||
|
||||
function closeInfoBox(cleanup) {
|
||||
|
||||
if (!is_msie()) {
|
||||
if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
|
||||
var overlay = document.getElementById("dialog_overlay");
|
||||
if (overlay) {
|
||||
overlay.style.display = "none";
|
||||
@@ -1383,10 +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";
|
||||
if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
|
||||
var overlay = document.getElementById("dialog_overlay");
|
||||
if (overlay) {
|
||||
overlay.style.display = "block";
|
||||
}
|
||||
}
|
||||
|
||||
var box = document.getElementById('infoBox');
|
||||
|
||||
Reference in New Issue
Block a user