You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the asyraf9 / jquerymobile-splitview in our application. At the left side panel we have a jqm listview. At the right panel we are displaying some details about the items located at the left panel listview. We also have some buttons at the right panel which performs some actions on the item displayed at the right panel. Those buttons trigger some java script actions where we call some pages (there are actually ASP.NET MVC action url's) by using the "http post" method. The thing is that those "post" callPage invokations broke the listview "back" button functionality (you have to click the back button twice to go the listview previous level)
Any idea about what may be going wrong?
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Are you making the post call via ajax? If not - and without seeing any code - I'm going to bet that it's putting the call into the page's history, so even though you may not be seeing anything change when you hit the back button twice, it's actually paging through the history. I haven't used it, but I believe there's a setting in the splitview code that lets you tell it to ignore the next hash change. Take a look in the code to see how that works.
Hopefully that'll help point your toward the problem.
Hi,
We are using the asyraf9 / jquerymobile-splitview in our application. At the left side panel we have a jqm listview. At the right panel we are displaying some details about the items located at the left panel listview. We also have some buttons at the right panel which performs some actions on the item displayed at the right panel. Those buttons trigger some java script actions where we call some pages (there are actually ASP.NET MVC action url's) by using the "http post" method. The thing is that those "post" callPage invokations broke the listview "back" button functionality (you have to click the back button twice to go the listview previous level)
Any idea about what may be going wrong?
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: