Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add data-url to main page, this prevents some problems with redirects

Roland Geider9af1e892cde2
diff --git a/wger/manager/templates/mobile/template.html b/wger/manager/templates/mobile/template.html
index 9e25dab30..6eceb74d5 100644
--- a/wger/manager/templates/mobile/template.html
+++ b/wger/manager/templates/mobile/template.html
@@ -42,7 +42,7 @@
</head>
<body>
-<div data-role="page" id="page-{{request_full_path|slugify}}">
+<div data-role="page" id="page-{{request_full_path|slugify}}" data-url="{{request_full_path}}">
{% if not user.is_authenticated or user.get_profile.is_temporary %}
<div data-role="popup" data-overlay-theme="a" id="popupGuestUser" class="ui-content">