Browse files

Fixed typo on read-only list item for 1.2

  • Loading branch information...
1 parent 70a79c7 commit 6509cfdc0db1cd7aa0d94feba4162ee2806b46b4 @tybenz tybenz committed Nov 7, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 jqm/1.2.0/preview.html
  2. +1 −1 js/app.js
View
2 jqm/1.2.0/preview.html
@@ -40,7 +40,7 @@ <h1 class="ui-title" tabindex="0" role="heading" aria-level="1">A</h1>
<div data-role="fieldcontain" class="ui-listview-inset">
<fieldset data-role="controlgroup">
<li data-swatch="a" class="ui-li ui-li-divider ui-btn ui-bar-a ui-corner-top" data-role="list-divider" role="" data-form="ui-bar-a">List Header</li>
- <li class="ui-li ui-li-static ui-btn-up-a" data-form="ui-btn-up-a" data-theme="a">Read-only List Item</li>
+ <li class="ui-li ui-li-static ui-btn-up-a" data-form="ui-btn-up-a" data-theme="a">Read-only list item</li>
<input type="radio" name="radio-choice-a" id="radio-choice-1-a" value="choice-1" checked="checked" />
<label for="radio-choice-1-a" data-form="ui-btn-up-a" class="ui-corner-none">Radio 1</label>
View
2 js/app.js
@@ -1171,7 +1171,7 @@ TR.initThemeRoller = function() {
//initialize templates for adding swatches later
TR.panelTemplate = $( "#tab2" ).html();
- TR.swatchTemplate = "<div class=\"preview ui-shadow swatch\"> <div class=\"ui-header ui-bar-a\" data-swatch=\"a\" data-theme=\"a\" data-form=\"ui-bar-a\" data-role=\"header\" role=\"banner\"> <a class=\"ui-btn-left ui-btn ui-btn-icon-notext ui-btn-corner-all ui-shadow ui-btn-up-a\" data-iconpos=\"notext\" data-theme=\"a\" data-role=\"button\" data-icon=\"home\" title=\" Home \"> <span class=\"ui-btn-inner ui-btn-corner-all\"> <span class=\"ui-btn-text\"> Home </span> <span data-form=\"ui-icon\" class=\"ui-icon ui-icon-home ui-icon-shadow\"></span> </span> </a> <h1 class=\"ui-title\" tabindex=\"0\" role=\"heading\" aria-level=\"1\">A</h1> <a class=\"ui-btn-right ui-btn ui-btn-icon-notext ui-btn-corner-all ui-shadow ui-btn-up-a\" data-iconpos=\"notext\" data-theme=\"a\" data-role=\"button\" data-icon=\"grid\" title=\" Navigation \"> <span class=\"ui-btn-inner ui-btn-corner-all\"> <span class=\"ui-btn-text\"> Navigation </span> <span data-form=\"ui-icon\" class=\"ui-icon ui-icon-grid ui-icon-shadow\"></span> </span> </a> </div> <div class=\"ui-content ui-body-a\" data-theme=\"a\" data-form=\"ui-body-a\" data-role=\"content\" role=\"main\"> <p> Sample text and <a class=\"ui-link\" data-form=\"ui-body-a\" href=\"#\" data-theme=\"a\">links</a>. </p> <div data-role=\"fieldcontain\" class=\"ui-listview-inset\"> <fieldset data-role=\"controlgroup\"> <li data-swatch=\"a\" class=\"ui-li ui-li-divider ui-btn ui-bar-a ui-corner-top\" data-role=\"list-divider\" role=\"\" data-form=\"ui-bar-a\">List Header</li> <li class=\"ui-li ui-li-static ui-btn-up-a\" data-form=\"ui-btn-up-a\" data-theme=\"a\">Read-only List Item</li> <input type=\"radio\" name=\"radio-choice-a\" id=\"radio-choice-1-a\" value=\"choice-1\" checked=\"checked\" /> <label for=\"radio-choice-1-a\" data-form=\"ui-btn-up-a\" class=\"ui-corner-none\">Radio 1</label> <input type=\"radio\" name=\"radio-choice-a\" id=\"radio-choice-2-a\" value=\"choice-2\" /> <label for=\"radio-choice-2-a\" data-form=\"ui-btn-up-a\">Radio 2</label> <input type=\"checkbox\" name=\"checkbox-a\" id=\"checkbox-a\" class=\"custom\" checked=\"checked\" /> <label for=\"checkbox-a\" data-form=\"ui-btn-up-a\">Checkbox</label> </fieldset> </div> <div data-role=\"fieldcontain\"> <fieldset data-role=\"controlgroup\" data-type=\"horizontal\"> <input type=\"radio\" name=\"radio-view-a\" id=\"radio-view-a-a\" value=\"list\" checked=\"checked\"/> <label for=\"radio-view-a-a\" data-form=\"ui-btn-up-a\">On</label> <input type=\"radio\" name=\"radio-view-a\" id=\"radio-view-b-a\" value=\"grid\" /> <label for=\"radio-view-b-a\" data-form=\"ui-btn-up-a\">Off</label> </fieldset> </div> <div data-role=\"fieldcontain\"> <select name=\"select-choice-1\" id=\"select-choice-1\" data-native-menu=\"false\" data-theme=\"a\" data-form=\"ui-btn-up-a\"> <option value=\"standard\">Option 1</option> <option value=\"rush\">Option 2</option> <option value=\"express\">Option 3</option> <option value=\"overnight\">Option 4</option> </select> </div> <input type=\"text\" value=\"Text Input\" class=\"input\" data-form=\"ui-body-a\" /> <div data-role=\"fieldcontain\"> <input type=\"range\" name=\"slider\" value=\"50\" min=\"0\" max=\"100\" data-form=\"ui-body-a\" data-theme=\"a\" data-highlight=\"true\" /> </div> <button data-icon=\"star\" data-theme=\"a\" data-form=\"ui-btn-up-a\">Button</button> </div></div>";
+ TR.swatchTemplate = "<div class=\"preview ui-shadow swatch\"> <div class=\"ui-header ui-bar-a\" data-swatch=\"a\" data-theme=\"a\" data-form=\"ui-bar-a\" data-role=\"header\" role=\"banner\"> <a class=\"ui-btn-left ui-btn ui-btn-icon-notext ui-btn-corner-all ui-shadow ui-btn-up-a\" data-iconpos=\"notext\" data-theme=\"a\" data-role=\"button\" data-icon=\"home\" title=\" Home \"> <span class=\"ui-btn-inner ui-btn-corner-all\"> <span class=\"ui-btn-text\"> Home </span> <span data-form=\"ui-icon\" class=\"ui-icon ui-icon-home ui-icon-shadow\"></span> </span> </a> <h1 class=\"ui-title\" tabindex=\"0\" role=\"heading\" aria-level=\"1\">A</h1> <a class=\"ui-btn-right ui-btn ui-btn-icon-notext ui-btn-corner-all ui-shadow ui-btn-up-a\" data-iconpos=\"notext\" data-theme=\"a\" data-role=\"button\" data-icon=\"grid\" title=\" Navigation \"> <span class=\"ui-btn-inner ui-btn-corner-all\"> <span class=\"ui-btn-text\"> Navigation </span> <span data-form=\"ui-icon\" class=\"ui-icon ui-icon-grid ui-icon-shadow\"></span> </span> </a> </div> <div class=\"ui-content ui-body-a\" data-theme=\"a\" data-form=\"ui-body-a\" data-role=\"content\" role=\"main\"> <p> Sample text and <a class=\"ui-link\" data-form=\"ui-body-a\" href=\"#\" data-theme=\"a\">links</a>. </p> <div data-role=\"fieldcontain\" class=\"ui-listview-inset\"> <fieldset data-role=\"controlgroup\"> <li data-swatch=\"a\" class=\"ui-li ui-li-divider ui-btn ui-bar-a ui-corner-top\" data-role=\"list-divider\" role=\"\" data-form=\"ui-bar-a\">List Header</li> <li class=\"ui-li ui-li-static ui-btn-up-a\" data-form=\"ui-btn-up-a\" data-theme=\"a\">Read-only list item</li> <input type=\"radio\" name=\"radio-choice-a\" id=\"radio-choice-1-a\" value=\"choice-1\" checked=\"checked\" /> <label for=\"radio-choice-1-a\" data-form=\"ui-btn-up-a\" class=\"ui-corner-none\">Radio 1</label> <input type=\"radio\" name=\"radio-choice-a\" id=\"radio-choice-2-a\" value=\"choice-2\" /> <label for=\"radio-choice-2-a\" data-form=\"ui-btn-up-a\">Radio 2</label> <input type=\"checkbox\" name=\"checkbox-a\" id=\"checkbox-a\" class=\"custom\" checked=\"checked\" /> <label for=\"checkbox-a\" data-form=\"ui-btn-up-a\">Checkbox</label> </fieldset> </div> <div data-role=\"fieldcontain\"> <fieldset data-role=\"controlgroup\" data-type=\"horizontal\"> <input type=\"radio\" name=\"radio-view-a\" id=\"radio-view-a-a\" value=\"list\" checked=\"checked\"/> <label for=\"radio-view-a-a\" data-form=\"ui-btn-up-a\">On</label> <input type=\"radio\" name=\"radio-view-a\" id=\"radio-view-b-a\" value=\"grid\" /> <label for=\"radio-view-b-a\" data-form=\"ui-btn-up-a\">Off</label> </fieldset> </div> <div data-role=\"fieldcontain\"> <select name=\"select-choice-1\" id=\"select-choice-1\" data-native-menu=\"false\" data-theme=\"a\" data-form=\"ui-btn-up-a\"> <option value=\"standard\">Option 1</option> <option value=\"rush\">Option 2</option> <option value=\"express\">Option 3</option> <option value=\"overnight\">Option 4</option> </select> </div> <input type=\"text\" value=\"Text Input\" class=\"input\" data-form=\"ui-body-a\" /> <div data-role=\"fieldcontain\"> <input type=\"range\" name=\"slider\" value=\"50\" min=\"0\" max=\"100\" data-form=\"ui-body-a\" data-theme=\"a\" data-highlight=\"true\" /> </div> <button data-icon=\"star\" data-theme=\"a\" data-form=\"ui-btn-up-a\">Button</button> </div></div>";
TR.panelTemplate = $( "#tab2" ).html();
//call initialization methods

0 comments on commit 6509cfd

Please sign in to comment.