Ero sivun ”Widget:Form enabler X” versioiden välillä
Järvi-meriwikistä
Rivi 12: | Rivi 12: | ||
function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | ||
− | console.log( 'x' ); | + | |
+ | console.log( 'x' ); | ||
//jQuery( document ).on( 'click', '.JwMinimizedArchive', function( e ) { | //jQuery( document ).on( 'click', '.JwMinimizedArchive', function( e ) { | ||
// console.log( 'click' ); | // console.log( 'click' ); | ||
Rivi 19: | Rivi 20: | ||
// e.stopPropagation(); | // e.stopPropagation(); | ||
//}); | //}); | ||
− | |||
+ | /* | ||
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 52: | Rivi 53: | ||
}, 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' ); } ); | ||