Skip to content
Snippets Groups Projects
Commit 3a865fd6 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

javascript variable now set on load more

parent e657fb5b
No related branches found
No related tags found
2 merge requests!1712Development,!1696Development
......@@ -325,6 +325,7 @@ class MetaGer
$timings["prepareResults"]["started adgoal"] = microtime(true) - $timings["starttime"];
}
}
if (!$this->javascript) {
$this->adgoalLoaded = $this->parseAdgoal($this->results, $this->adgoalHash, true);
if(!empty($timings)){
......@@ -1016,6 +1017,10 @@ class MetaGer
# Javascript option will be set by an asynchronious script we will check for it when we are fetching adgoal
# Until then javascript parameter will be false
$this->javascript = false;
if($request->filled("javascript") && is_bool($request->input("javascript"))){
$this->javascript = boolval($request->input("javascript"));
$request->request->remove("javascript");
}
$this->jskey = $request->input('jskey', '');
$request->request->remove("jskey");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment