1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12372] Rename JS function dE() to phpbb.toggleDisplay()

PHPBB3-12372
This commit is contained in:
Marc Alexander
2014-04-07 21:42:30 +02:00
parent 966a2b4892
commit 91a1c3af90
13 changed files with 49 additions and 49 deletions

View File

@@ -177,7 +177,7 @@ function swap_options(pmask, fmask, cat, adv, view) {
var adv_block = document.getElementById('advanced' + pmask + fmask);
if (adv_block.style.display === 'block' && adv === true) {
dE('advanced' + pmask + fmask, -1);
phpbb.toggleDisplay('advanced' + pmask + fmask, -1);
reset_opacity(1);
display_checkboxes(false);
return;
@@ -207,11 +207,11 @@ function swap_options(pmask, fmask, cat, adv, view) {
return;
}
dE('options' + active_option, -1);
phpbb.toggleDisplay('options' + active_option, -1);
//hiding and showing the checkbox
if (document.getElementById('checkbox' + active_pmask + active_fmask)) {
dE('checkbox' + pmask + fmask, -1);
phpbb.toggleDisplay('checkbox' + pmask + fmask, -1);
if ((pmask + fmask) !== (active_pmask + active_fmask)) {
document.getElementById('checkbox' + active_pmask + active_fmask).style.display = 'inline';
@@ -219,13 +219,13 @@ function swap_options(pmask, fmask, cat, adv, view) {
}
if (!view) {
dE('advanced' + active_pmask + active_fmask, -1);
phpbb.toggleDisplay('advanced' + active_pmask + active_fmask, -1);
}
if (!view) {
dE('advanced' + pmask + fmask, 1);
phpbb.toggleDisplay('advanced' + pmask + fmask, 1);
}
dE('options' + id, 1);
phpbb.toggleDisplay('options' + id, 1);
active_pmask = pmask;
active_fmask = fmask;