2010-09-10 22:23:13 +00:00
|
|
|
/*
|
2011-11-08 23:43:36 +00:00
|
|
|
* "fieldcontain" plugin - simple class additions to make form row separators
|
2010-09-10 22:23:13 +00:00
|
|
|
*/
|
2011-06-28 23:48:47 +00:00
|
|
|
|
2011-12-16 02:09:25 +00:00
|
|
|
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
|
|
|
|
define(function() {
|
|
|
|
|
//>>excludeEnd("jqmBuildExclude");
|
|
|
|
|
(function( $, undefined ) {
|
2011-06-28 23:48:47 +00:00
|
|
|
|
|
|
|
|
$.fn.fieldcontain = function( options ) {
|
|
|
|
|
return this.addClass( "ui-field-contain ui-body ui-br" );
|
2010-09-10 22:23:13 +00:00
|
|
|
};
|
2011-06-28 23:48:47 +00:00
|
|
|
|
2011-07-27 22:42:16 +00:00
|
|
|
//auto self-init widgets
|
|
|
|
|
$( document ).bind( "pagecreate create", function( e ){
|
|
|
|
|
$( ":jqmData(role='fieldcontain')", e.target ).fieldcontain();
|
|
|
|
|
});
|
|
|
|
|
|
2011-12-16 02:09:25 +00:00
|
|
|
})( jQuery );
|
|
|
|
|
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
|
2011-10-31 04:59:56 +00:00
|
|
|
});
|
2011-12-16 02:09:25 +00:00
|
|
|
//>>excludeEnd("jqmBuildExclude");
|