Blank pages for users w/o javascript

Permalink Browser Info Environment
It was brought to my attention that users who have javascript disabled are unable to view the page due to the "ved" class never fading in. So for them, all that displays is an empty blank page.

This is the fix for it I have done for now.

I changed this:

<div class="ccm-page page-template-full">
        <div class="ved">


to this:

<div class="ccm-page page-template-full">
        <div id="jscheck" class=" ">
    <script language="javascript">
        var d = document.getElementById("jscheck");
        d.classList.add("ved");
    </script>


You'll probably want to correct this in an update. :)

Type: Discussion
Status: In Progress
delusioninabox
View Replies:
sebastienj replied on at Permalink Reply
sebastienj
Great addition, thank you!

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3
Version Installed - 5.7.3
Database Version - 20141219000000

# concrete5 Packages
Call to Action (1.0.0), Easy Image Gallery (1.0.1), Share Me (0.9.1), Vedana Theme (0.9.4).

# concrete5 Overrides
languages/nl_NL, languages/el_GR, languages/tr_TR, languages/ja_JP, languages/sv_SE, languages/de_DE, languages/da_DK, languages/fi_FI, languages/fr_FR, languages/ru_RU, languages/sl_SI, languages/it_IT

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.5

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, htscanner, iconv, imap, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 4000
memory_limit - 512M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.