source: documentation/trunk/packages/dokuwiki-2011-05-25a/lib/plugins/captcha/script.js@ 25027

Last change on this file since 25027 was 25027, checked in by jmt12, 12 years ago

Adding the packages directory, and within it a configured version of dokuwiki all ready to run

File size: 294 bytes
Line 
1/**
2 * Autofill and hide the whole captcha stuff in the simple JS mode
3 */
4addInitEvent(function(){
5 var code = $('plugin__captcha_code');
6 if(!code) return;
7
8 var box = $('plugin__captcha');
9 box.value=code.innerHTML;
10
11 $('plugin__captcha_wrapper').style.display = 'none';
12});
Note: See TracBrowser for help on using the repository browser.