Last test before a full revert
This commit is contained in:
parent
c0a4a892ed
commit
7497e6d004
|
@ -75,10 +75,10 @@
|
||||||
<link rel="stylesheet" type="text/css" href="<?php echo getUrlWithVersion(getCurrentCss ()) ?>" media="screen" />
|
<link rel="stylesheet" type="text/css" href="<?php echo getUrlWithVersion(getCurrentCss ()) ?>" media="screen" />
|
||||||
<?php if (!useServerSideRendering ()) { ?>
|
<?php if (!useServerSideRendering ()) { ?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
console.log ("Start");
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// Handler for .ready() called.
|
// Handler for .ready() called.
|
||||||
|
console.log ("Start Ready");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var url = "<?php echo "getJSON.php?" . addURLParameter ($_SERVER["QUERY_STRING"], "complete", 1); ?>";
|
var url = "<?php echo "getJSON.php?" . addURLParameter ($_SERVER["QUERY_STRING"], "complete", 1); ?>";
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
$.get('templates/default/suggestion.html'),
|
$.get('templates/default/suggestion.html'),
|
||||||
$.getJSON(url)).done(function(header, footer, bookdetail, main, page, suggestion, data){
|
$.getJSON(url)).done(function(header, footer, bookdetail, main, page, suggestion, data){
|
||||||
templateBookDetail = doT.template (bookdetail [0]);
|
templateBookDetail = doT.template (bookdetail [0]);
|
||||||
|
console.log ("Start When");
|
||||||
var defMain = {
|
var defMain = {
|
||||||
bookdetail: bookdetail [0]
|
bookdetail: bookdetail [0]
|
||||||
};
|
};
|
||||||
|
@ -120,6 +120,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
|
console.log ("Catch");
|
||||||
alert (e.message);
|
alert (e.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue