[pmg-devel] [PATCH pmg-gui] fix wrong 'no subscription' toolbar
Dominik Csapak
d.csapak at proxmox.com
Tue Feb 26 14:22:05 CET 2019
remove the toolbar altogether when there is a valid subscription,
since on every navigate to the page, framework7 shows it again
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
js/mobile/utils.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/mobile/utils.js b/js/mobile/utils.js
index b0e082b..2b27d36 100644
--- a/js/mobile/utils.js
+++ b/js/mobile/utils.js
@@ -153,7 +153,7 @@ var PMG = {
resolve();
}
} else {
- app.toolbar.hide('.toolbar.subscription');
+ $$('.toolbar.subscription').remove();
resolve();
}
});
--
2.11.0
More information about the pmg-devel
mailing list