little optimization : i18n is only transfered one time. re #73
This commit is contained in:
parent
b49432e3e1
commit
fccb7a9820
3 changed files with 5 additions and 2 deletions
|
@ -91,7 +91,7 @@
|
|||
$.get('templates/default/bookdetail.html'),
|
||||
$.get('templates/default/main.html'),
|
||||
$.get('templates/default/page.html'),
|
||||
$.getJSON('<?php echo "getJSON.php?" . str_replace ("&", "&", $_SERVER["QUERY_STRING"]); ?>')).done(function(header, footer, bookdetail, main, page, data){
|
||||
$.getJSON('<?php echo "getJSON.php?" . str_replace ("&", "&", addURLParameter ($_SERVER["QUERY_STRING"], "complete", 1)); ?>')).done(function(header, footer, bookdetail, main, page, data){
|
||||
templateBookDetail = doT.template (bookdetail [0]);
|
||||
|
||||
var defMain = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue