|
|
|
@ -133,13 +133,13 @@ var routes = [
|
|
|
|
|
templateUrl: './pages/dropandsend.html',
|
|
|
|
|
on: {
|
|
|
|
|
pageBeforeIn: function () {
|
|
|
|
|
checkIfAccountGoodWithPaymentMethod(function (ok) {
|
|
|
|
|
if (!ok) {
|
|
|
|
|
$("#addPaymentMethodNag").css("display", "");
|
|
|
|
|
}
|
|
|
|
|
}, function (error) {
|
|
|
|
|
$("#addPaymentMethodNag").css("display", "");
|
|
|
|
|
});
|
|
|
|
|
checkIfAccountGoodWithPaymentMethod(function (ok) {
|
|
|
|
|
if (!ok) {
|
|
|
|
|
$("#addPaymentMethodNag").css("display", "");
|
|
|
|
|
}
|
|
|
|
|
}, function (error) {
|
|
|
|
|
$("#addPaymentMethodNag").css("display", "");
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
pageAfterOut: function () {
|
|
|
|
|
dropboxMap = null;
|
|
|
|
@ -264,6 +264,13 @@ var routes = [
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
settings.push(
|
|
|
|
|
{
|
|
|
|
|
setting: "resetaccount",
|
|
|
|
|
title: "Forget Account",
|
|
|
|
|
text: "Log out and disconnect from your Helena Express account.",
|
|
|
|
|
onclick: "resetAccountPrompt()",
|
|
|
|
|
link: true
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
setting: "versions",
|
|
|
|
|
title: "Helena Express app v" + app_version,
|
|
|
|
|