Skip to content
Browse files

[button markup functional test] Set button widget options via .button…

…( "option", { ... }) and not via .buttonMarkup({ ... })
  • Loading branch information...
1 parent f453035 commit 710dbae4f9e77654b587009c5bdea48ef3447690 @gabrielschulhof gabrielschulhof committed Oct 30, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 tests/functional/button-markup.html
View
5 tests/functional/button-markup.html
@@ -26,7 +26,8 @@
});
if (!options.empty) {
delete options.empty;
- $("#sample-link,#sample-input-button,#sample-button").buttonMarkup(options);
+ $("#sample-link").buttonMarkup(options);
+ $("#sample-input-button,#sample-button" ).button( "option", options );
}
});
});
@@ -55,7 +56,7 @@
<label for="button-icon">icon</label>
<input data-setter="true" type="text" id="button-icon"></input>
</div>
- </td><td>
+ </td><td>
<div data-role="fieldcontain">
<label for="button-icon-apply">Apply</label>
<input data-apply="true" type="checkbox" id="button-icon-apply"></input>

0 comments on commit 710dbae

Please sign in to comment.
Something went wrong with that request. Please try again.