Ero sivun ”Widget:Form enabler X” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
− | <includeonly | + | <includeonly><script type="text/javascript"> |
− | + | ||
function <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() { | function <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() { | ||
if ( typeof window.jQuery == 'undefined' ) { | if ( typeof window.jQuery == 'undefined' ) { | ||
setTimeout( function(){ <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() }, 300); | setTimeout( function(){ <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() }, 300); | ||
} else { | } else { | ||
− | + | jQuery.getScript( "/scripts/jquery.autosize-min.js", function( data, textStatus, jqxhr ) { | |
+ | <!--{$id|default:FormEnabler|escape:'html'}-->_func(); | ||
+ | }); | ||
} | } | ||
} | } | ||
Rivi 279: | Rivi 281: | ||
function checkAgain() { | function checkAgain() { | ||
− | + | ||
jQuery('.JwDateField').each(function() { | jQuery('.JwDateField').each(function() { | ||