mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-28 20:29:15 +02:00
fix user feedback when jquery could not be loaded
This commit is contained in:
parent
d24c4d0eda
commit
d530bc2fb6
@ -549,7 +549,7 @@ TEXT;
|
|||||||
<li id="ModRewriteResult">Testing...</li>
|
<li id="ModRewriteResult">Testing...</li>
|
||||||
<script>
|
<script>
|
||||||
if (typeof $ == 'undefined') {
|
if (typeof $ == 'undefined') {
|
||||||
document.getElemenyById('ModeRewriteResult').innerHTML = "I can't run jQuery ajax to set rewriting; I will redirect you to the homepage to see if everything is working.";
|
document.getElementById('ModeRewriteResult').innerHTML = "I can't run jQuery ajax to set rewriting; I will redirect you to the homepage to see if everything is working.";
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
window.location = "$destinationURL";
|
window.location = "$destinationURL";
|
||||||
}, 10000);
|
}, 10000);
|
||||||
|
Loading…
Reference in New Issue
Block a user