Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White page when JavaScript is disabled #3918

Closed
nullnull-00 opened this issue Apr 27, 2013 · 1 comment
Closed

White page when JavaScript is disabled #3918

nullnull-00 opened this issue Apr 27, 2013 · 1 comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone

Comments

@nullnull-00
Copy link
Contributor

Having disabled JavaScript, Piwik display absolutely nothing, it's a completely white page.
I think it would be good to display at least a message like "Piwik needs JavaScript to work properly. Please enable JavaScript in your Browser."

@ksubileau
Copy link
Contributor

The problem is not to break the work done in #2701. Maybe this patch could do the trick ?

#!diff
--- plugins/CoreHome/templates/iframe_buster_header.tpl
+++ plugins/CoreHome/templates/iframe_buster_header.tpl
@@ -3,5 +3,10 @@
         <style type="text/css">body {
                 display: none;
             }</style>
+        <noscript>
+            <style type="text/css">body {
+                    display: block;
+                }</style>
+        </noscript>
     {/literal}
-{/if}
\ No newline at end of file
+{/if}

@nullnull-00 nullnull-00 added this to the 1.12 - The Great 1.x Backlog milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants