Permalink
Browse files

[button markup functional test] Update to reflect new possible values…

… for corners
  • Loading branch information...
1 parent 3c009a6 commit f453035f5f0f7b03e68bf432bcc97b5d336d160e @gabrielschulhof gabrielschulhof committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/functional/button-markup.html
@@ -16,7 +16,7 @@
$("[data-setter]").each(function() {
var self = $(this),
val = ($(this).is("[type='checkbox']") ? $(this).is(":checked") : $(this).val()),
- key = $(this).parent().find("label").text(),
+ key = $(this).parent().find("label").text().match(/(^[a-z]*)/)[1],
apply = $("#button-" + key + "-apply").is(":checked");
if (apply) {
@@ -103,7 +103,7 @@
</td></tr><tr><td>
<div data-role="fieldcontain">
<label for="button-corners">corners</label>
- <input data-setter="true" type="checkbox" id="button-corners"></input>
+ <input data-setter="true" type="text" id="button-corners"></input>
</div>
</td><td>
<div data-role="fieldcontain">

0 comments on commit f453035

Please sign in to comment.