Closed YtGz closed 9 years ago
if(lt_enabled) { document.write('<script type="text/javascript" src="'@routes.Assets.at("javascripts/locationTracker.js")'">'); }
-> easier than AJAX, but has to be executed before window.onload(): -> maybe rebuild the page after turning on/off?
i think we won't have to enable/disable it manually, the browser/smartphone asks the user anyway (afaik the setting is saved automatically)
we don't have time for it imo
agreed
if(lt_enabled) { document.write('<script type="text/javascript" src="'@routes.Assets.at("javascripts/locationTracker.js")'">'); }
-> easier than AJAX, but has to be executed before window.onload(): -> maybe rebuild the page after turning on/off?