Ero sivun ”Widget:Form enabler X” versioiden välillä
Järvi-meriwikistä
Rivi 13: | Rivi 13: | ||
function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | ||
− | + | //jQuery( document ).on( 'click', '.JwMinimizedArchive', function( e ) { | |
− | + | // console.log( 'click' ); | |
− | + | // e.stopImmediatePropagation(); | |
− | + | // e.preventDefault(); | |
− | + | // e.stopPropagation(); | |
− | + | //}); | |
− | |||
− | |||
− | |||
− | jQuery( document ).on( 'click', '.JwMinimizedArchive', function( e ) { | ||
− | |||
− | |||
− | |||
− | |||
− | }); | ||
var timer = setInterval( function() { | var timer = setInterval( function() { | ||
− | + | /* | |
// populate minimized fieldValuesDisplay with better content | // populate minimized fieldValuesDisplay with better content | ||
jQuery( '.fieldValuesDisplay' ).each( function() { | jQuery( '.fieldValuesDisplay' ).each( function() { | ||
Rivi 60: | Rivi 51: | ||
}, 250); | }, 250); | ||
− | + | */ | |
− | jQuery( document ).on( 'change', '.mw-widgets-datetime-dateTimeInputWidget-field', function() { console.log( 'change' ); } ); | + | //jQuery( document ).on( 'change', '.mw-widgets-datetime-dateTimeInputWidget-field', function() { console.log( 'change' ); } ); |