Adjust wording and stuff
This commit is contained in:
parent
70f5a075ae
commit
afb607a618
@ -12,7 +12,7 @@ $(".view-main").on("click", "#addresslist .package-list-item .deliver-btn", func
|
||||
|
||||
// Open geo: url
|
||||
$(".view-main").on("click", "#addresslist .package-list-item .directions-btn", function () {
|
||||
window.open($(this).attr("href"), "_blank");
|
||||
window.open($(this).attr("href"), "_system");
|
||||
});
|
||||
|
||||
$(".view-main").on("swipeout:delete", "#addresslist .package-list-item", function () {
|
||||
@ -135,7 +135,7 @@ function loadPackageList(sortType) {
|
||||
+ ' </div>'
|
||||
+ '</div>'
|
||||
+ '<div class="swipeout-actions-left">'
|
||||
+ ' <a href="#" class="color-green deliver-btn" data-packageid="' + sortedPackages[i].index + '">' + (delivered ? "<i class='fas fa-undo'></i> Mark Undelivered" : "<i class='fas fa-check'></i> Mark Delivered") + '</a>'
|
||||
+ ' <a href="#" class="color-green deliver-btn" data-packageid="' + sortedPackages[i].index + '">' + (delivered ? "<i class='fas fa-undo'></i> Undeliver" : "<i class='fas fa-check'></i> Deliver") + '</a>'
|
||||
+ ' <a href="geo:' + sortedPackages[i].value.coords[0] + ',' + sortedPackages[i].value.coords[1] + '" class="color-blue directions-btn"><i class="fas fa-route"></i> Directions</a>'
|
||||
+ '</div>'
|
||||
+ '<div class="swipeout-actions-right">'
|
||||
|
@ -44,7 +44,7 @@ $("#app").on("click", "#package-info-sheet #package-info-toggle-status", functio
|
||||
});
|
||||
|
||||
$("#app").on("click", "#package-info-sheet #package-info-get-directions", function () {
|
||||
window.open($(this).attr("href"), "_blank");
|
||||
window.open($(this).attr("href"), "_system");
|
||||
});
|
||||
|
||||
function openPackageInfoSheet(package, refreshOnly) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user