+ // For now, only show the upload UI on Firefox OS.
+ document.getElementById("uploadTrackButton").classList.remove("debugHide");
+ // Without OAuth, the login data is useless
+ //document.getElementById("uploadSettingsArea").classList.remove("debugHide");
+ // As login data is useless for now, always enable upload button
+ document.getElementById("uploadTrackButton").disabled = true;
+ }
+
+ if (gDebug) {
+ gOSMAPIURL = "http://api06.dev.openstreetmap.org/";