0

I have a ul on a page with data-role='listview' however it is not being initialized by jQuery Mobile to be a listview when the page loads normally or thorough jQM's ajax refresh.

If it helps I'm using rails 3 and haml. The line in question is

%ul{:data => {:roll => 'listview', :inset => 'true'}}

I'm using jQuery 1.7.2 and jQuery Mobile 1.1.0.

3
  • should you write role instead of roll ? Commented Jul 10, 2012 at 14:10
  • If I weren't an idiot, yes. Thanks @pdjota. Maybe it's time I took a vacation :-p Commented Jul 10, 2012 at 14:15
  • well, perhaps a break would do Commented Jul 10, 2012 at 14:50

1 Answer 1

1

I'm not so familiar with haml. but should that perhaps be role instead of roll?

Sign up to request clarification or add additional context in comments.

2 Comments

Please excuse me while I hang my head in shame. Thanks for catching this.
Some times you just need a different pair of eyes to catch something.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.