File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ Xrm.Portal = {
265265 return this . controlType . Checkbox ;
266266 } else if ( c . attr ( "type" ) == "hidden" ) {
267267 return this . controlType . Lookup ;
268- } else if ( c . attr ( "class" ) != null && ( c . attr ( "class" ) . startsWith ( "boolean-radio" ) || c . attr ( "class" ) . startsWith ( "picklist horizontal" ) || c . attr ( "class" ) . startsWith ( "picklist vertical" ) ) ) {
268+ } else if ( c . attr ( "class" ) != null && ( c . attr ( "class" ) . indexOf ( "boolean-radio" ) > - 1 || c . attr ( "class" ) . indexOf ( "picklist horizontal" ) > - 1 || c . attr ( "class" ) . indexOf ( "picklist vertical" ) > - 1 ) ) {
269269 return this . controlType . Radio ;
270270 } else {
271271 return this . controlType . Control ;
@@ -502,7 +502,7 @@ Xrm.Portal = {
502502 this . vg = "" ;
503503
504504 this . getValue = function ( ) {
505- return this . c . children ( " :checked") . val ( ) ;
505+ return this . c . find ( "input :checked") . val ( ) ;
506506 } ;
507507 this . setValue = function ( value ) {
508508 this . c . children ( "[value*=" + value + "]" ) . attr ( "checked" , true ) ;
You can’t perform that action at this time.
0 commit comments