Close package info sheet when back navbar button presed on tablet
This commit is contained in:
parent
c81cc87e91
commit
3cb322cb31
@ -118,7 +118,7 @@ function openPackageInfoSheet(coordid, refreshOnly) {
|
||||
+ '</li>');
|
||||
}
|
||||
|
||||
if (!refreshOnly) {
|
||||
if (!refreshOnly) {
|
||||
app.sheet.create({el: "#package-info-sheet"}).open();
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
<div class="navbar-bg"></div>
|
||||
<div class="navbar-inner">
|
||||
<div class="left">
|
||||
<a class="link" onclick="router.back({force: true, ignoreCache: true})">
|
||||
<a class="link" onclick="app.sheet.close('#package-info-sheet', false); router.back({force: true, ignoreCache: true})">
|
||||
<i class="icon icon-back"></i>
|
||||
<span class="if-not-md">Back</span>
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user