Comment 0 for bug 1335692

Revision history for this message
Tyler Yasaka (tyleryasaka) wrote : Ubuntu-SDK HTML5 new project default index.html, incorrect data-role for tab content

When you create a new HTML5 project in the Ubuntu SDK, it creates some default files for you. There's a small typo in the 'index.html' file that will confuse new developers. The data-role attribute for the div that contains the content for a tab is set to the value 'page'. However a quick test and a look at the docs (http://developer.ubuntu.com/api/html5/current/UbuntuUI.Tabs/) shows that this should be set to the value 'tab' instead. The content only changes when data-role is changed to 'tab'.
Simple typo, easy fix.