Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 11: | Rivi 11: | ||
setTimeout( function(){ <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() }, 300); | setTimeout( function(){ <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() }, 300); | ||
function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | |||
// populate minimized fieldValuesDisplay with better content | |||
setInterval( function() { | |||
jQuery( '.fieldValuesDisplay' ).each( function() { | jQuery( '.fieldValuesDisplay' ).each( function() { | ||
if ( !jQuery( this ).hasClass( 'jw-minimized' ) ) { | if ( !jQuery( this ).hasClass( 'jw-minimized' ) ) { | ||
jQuery( this ).addClass( 'jw-minimized' ); | jQuery( this ).addClass( 'jw-minimized' ); | ||
jQuery( this ).closest( '.multipleTemplateInstanceTable' ).find( '.JwMinimizedValue' ).each( function() { | |||
console.log( jQuery( this ).val() ); | |||
}); | |||
//jQuery( this ).html(); | |||
} | } | ||
}); | }); | ||
}, 250); | }, 250); | ||
// minimized/ | |||
// deal with radio buttons | |||
jQuery('fieldset:visible .JwLocRadiobuttons').each(function() { | jQuery('fieldset:visible .JwLocRadiobuttons').each(function() { | ||
| Rivi 42: | Rivi 53: | ||
}); | }); | ||
// radio buttons/ | |||
// deal with checkboxes | |||
jQuery('fieldset:visible .JwLocCheckboxes').each(function() { | jQuery('fieldset:visible .JwLocCheckboxes').each(function() { | ||
| Rivi 64: | Rivi 77: | ||
}); | }); | ||
// deal with dropdowns | |||
jQuery('fieldset:visible .JwLocDropdowns > option').each(function() { | |||
var classes = jQuery( this ).parent().attr('class').split(' '); | var classes = jQuery( this ).parent().attr('class').split(' '); | ||


