mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 07:21:30 +02:00
[ticket/12372] Rename JS function dE() to phpbb.toggleDisplay()
PHPBB3-12372
This commit is contained in:
@@ -17,8 +17,8 @@ function iframe_updated()
|
||||
return;
|
||||
}
|
||||
|
||||
dE('questionnaire-form', -1);
|
||||
dE('questionnaire-thanks', 1);
|
||||
phpbb.toggleDisplay('questionnaire-form', -1);
|
||||
phpbb.toggleDisplay('questionnaire-thanks', 1);
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
@@ -31,10 +31,10 @@ function iframe_updated()
|
||||
|
||||
<p>{L_EXPLAIN_SHOW_STATISTICS}</p>
|
||||
|
||||
<p id="show-button"><input type="button" class="button2" onclick="dE('configlist', 1); dE('show-button', -1);" value="{L_SHOW_STATISTICS}" /></p>
|
||||
<p id="show-button"><input type="button" class="button2" onclick="phpbb.toggleDisplay('configlist', 1); phpbb.toggleDisplay('show-button', -1);" value="{L_SHOW_STATISTICS}" /></p>
|
||||
|
||||
<div id="configlist">
|
||||
<input type="button" class="button2" onclick="dE('show-button', 1); dE('configlist', -1);" value="{L_HIDE_STATISTICS}" />
|
||||
<input type="button" class="button2" onclick="phpbb.toggleDisplay('show-button', 1); phpbb.toggleDisplay('configlist', -1);" value="{L_HIDE_STATISTICS}" />
|
||||
<p class="submit-buttons">
|
||||
<input class="button1" type="submit" id="submit" name="submit" value="{L_SEND_STATISTICS}" />
|
||||
</p>
|
||||
@@ -63,8 +63,8 @@ function iframe_updated()
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
dE('configlist', -1);
|
||||
dE('questionnaire-thanks', -1);
|
||||
phpbb.toggleDisplay('configlist', -1);
|
||||
phpbb.toggleDisplay('questionnaire-thanks', -1);
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user