Commit e55705c4 authored by Michael Dombrowski's avatar Michael Dombrowski

supports remembering last location

parent 9ddf1408
//setup global variables
var version = "1.0.0";
var version = "1.0.1";
var printer;
checkUpdates();
......@@ -162,7 +162,7 @@ function setUp(options){
//Pebble Listeners
//
Pebble.addEventListener("showConfiguration", function(e) {
Pebble.openURL("http://mikedombrowski.com/pebbletides-config-non-us.html");
Pebble.openURL("http://mikedombrowski.com/pebbletides-config-non-us.html?"+localStorage.location1+"&"+localStorage.location2+"&"+localStorage.location3+"&"+localStorage.location4+"&"+localStorage.location5+"&"+localStorage.location6+"&"+localStorage.location7);
});
Pebble.addEventListener("webviewclosed", function(e) {
var options = JSON.parse(decodeURIComponent(e.response));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment