hello
in my complete mobile web app i got the same problem wenn redirecting to a new site with click on a button
example:
iam on site: www.host.org/home/index
and i want to: www.host.org/mail/inbox
on click the button redirects to correct site but the url is now www.host.org/home/index#/mail/inbox
its no big thing, main features are still working, but i ran into some update and refresh issues. for example: after a redirect and creating of a this kind of a monster url badges on buttons are no longer displayed. even refresh don let them appear. only tiping the correct url fixes it.
i also have problems with login and out becouse of this kind of url
example for a button :
<a data-role="button" href="/projekte/index"> <img src="~/Content/images/icons/48x48/projekte48.png" /> Projekte </a>
or my "login button"
<a data-click="login" id="modalview-login-button" type="button" data-role="button">Login</a>
<script>
//...
$.ajax({
type: "POST",
url: webMethod,
data: parameters,
contentType: "application/json; chaset=utf-8",
dataType: "json",
success: function (data) { if (data.Success) { app.navigate("/home/index"); closeModalView(); } }
});
//...
</script>
in my complete mobile web app i got the same problem wenn redirecting to a new site with click on a button
example:
iam on site: www.host.org/home/index
and i want to: www.host.org/mail/inbox
on click the button redirects to correct site but the url is now www.host.org/home/index#/mail/inbox
its no big thing, main features are still working, but i ran into some update and refresh issues. for example: after a redirect and creating of a this kind of a monster url badges on buttons are no longer displayed. even refresh don let them appear. only tiping the correct url fixes it.
i also have problems with login and out becouse of this kind of url
example for a button :
<a data-role="button" href="/projekte/index"> <img src="~/Content/images/icons/48x48/projekte48.png" /> Projekte </a>
or my "login button"
<a data-click="login" id="modalview-login-button" type="button" data-role="button">Login</a>
<script>
//...
$.ajax({
type: "POST",
url: webMethod,
data: parameters,
contentType: "application/json; chaset=utf-8",
dataType: "json",
success: function (data) { if (data.Success) { app.navigate("/home/index"); closeModalView(); } }
});
//...
</script>