Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 12: | Rivi 12: | ||
function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | ||
var timer = setInterval( function() { | |||
setInterval( function() { | |||
// populate minimized fieldValuesDisplay with better content | |||
jQuery( '.fieldValuesDisplay' ).each( function() { | jQuery( '.fieldValuesDisplay' ).each( function() { | ||
if ( !jQuery( this ).hasClass( 'jw-minimized' ) ) { | if ( !jQuery( this ).hasClass( 'jw-minimized' ) ) { | ||
| Rivi 30: | Rivi 31: | ||
}); | }); | ||
// minimized/ | |||
jQuery( '.mw-widgets-datetime-dateTimeInputWidget-field' ).each( function() { | |||
if ( jQuery( this ).attr( 'size' ) == '2' ) { jQuery( this ).css( 'width', '3ch' ); } | |||
}); | |||
}, 250); | }, 250); | ||
// deal with radio buttons | // deal with radio buttons | ||
jQuery('fieldset:visible .JwLocRadiobuttons').each(function() { | jQuery('fieldset:visible .JwLocRadiobuttons').each(function() { | ||
console.log('sdf'); | |||
var input = jQuery( this ).children('input').first(); | var input = jQuery( this ).children('input').first(); | ||


