aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-04-11 11:27:13 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-04-11 11:27:13 +0200
commitb2eef2f5f9acb84c3762326c74cd4e9a597e6e57 (patch)
tree352c5468a0697b727ac0095bfe0e0dbb9705f560
parent91a1c3af901f51d79751b733e48e8bcddc81d263 (diff)
downloadforums-b2eef2f5f9acb84c3762326c74cd4e9a597e6e57.tar
forums-b2eef2f5f9acb84c3762326c74cd4e9a597e6e57.tar.gz
forums-b2eef2f5f9acb84c3762326c74cd4e9a597e6e57.tar.bz2
forums-b2eef2f5f9acb84c3762326c74cd4e9a597e6e57.tar.xz
forums-b2eef2f5f9acb84c3762326c74cd4e9a597e6e57.zip
[ticket/12372] Use admin.js $(document).ready for hiding questionnaire details
PHPBB3-12372
-rw-r--r--phpBB/adm/style/acp_send_statistics.html7
-rw-r--r--phpBB/adm/style/admin.js4
2 files changed, 4 insertions, 7 deletions
diff --git a/phpBB/adm/style/acp_send_statistics.html b/phpBB/adm/style/acp_send_statistics.html
index 819d433c5e..480e438e1f 100644
--- a/phpBB/adm/style/acp_send_statistics.html
+++ b/phpBB/adm/style/acp_send_statistics.html
@@ -61,11 +61,4 @@ function iframe_updated()
<p><strong>{L_THANKS_SEND_STATISTICS}</strong><br /><br /><a href="{U_ACP_MAIN}">&laquo; {L_GO_ACP_MAIN}</a></p>
</div>
-<script type="text/javascript">
-//<![CDATA[
- phpbb.toggleDisplay('configlist', -1);
- phpbb.toggleDisplay('questionnaire-thanks', -1);
-//]]>
-</script>
-
<!-- INCLUDE overall_footer.html -->
diff --git a/phpBB/adm/style/admin.js b/phpBB/adm/style/admin.js
index dd46124f97..7bda86e1e3 100644
--- a/phpBB/adm/style/admin.js
+++ b/phpBB/adm/style/admin.js
@@ -242,5 +242,9 @@ function parse_document(container)
});
parse_document($('body'));
+
+ // Hide configlist and success message in send statistics page
+ phpbb.toggleDisplay('configlist', -1);
+ phpbb.toggleDisplay('questionnaire-thanks', -1);
});
})(jQuery);