Permalink
Browse files

Fieldcontain: No class ui-body for fieldcontain. Deprecated data-role…

…="fieldcontain". Add class ui-field-contain instead.
  • Loading branch information...
jaspermdegroot committed May 14, 2013
1 parent e796a91 commit 3650c85cecd63f81165969396951ef0c2db24fe6
Showing with 5 additions and 1 deletion.
  1. +3 −0 css/structure/jquery.mobile.forms.fieldcontain.css
  2. +2 −1 js/jquery.mobile.fieldContain.js
@@ -1,6 +1,9 @@
.ui-field-contain,
.ui-mobile fieldset.ui-field-contain {
+ display: block;
+ position: relative;
overflow: visible;
+ clear: both;
padding: .8em 0;
}
.ui-field-contain > label + [class*="ui-"],
@@ -9,8 +9,9 @@ define( [ "jquery", "jquery.mobile.registry" ], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {
+// Deprecated in 1.4
$.fn.fieldcontain = function(/* options */) {
- return this.addClass( "ui-field-contain ui-body" );
+ return this.addClass( "ui-field-contain" );
};
//auto self-init widgets

0 comments on commit 3650c85

Please sign in to comment.