Lines Matching refs:ajax_spell

178     if (target.id != ajax_spell.suggestObj.id){
179 ajax_spell.suggestObj.style.display = "none";
191 ajax_spell.buttonObj.onclick = function(){ ajax_spell.resume(); return false; };
192 ajax_spell.buttonObj.title = ajax_spell.txtStop;
193 ajax_spell.buttonObj.accessKey = '';
194 ajax_spell.imageObj.src = DOKU_BASE+'lib/plugins/spellcheck/images/spellstop.png';
197 ajax_spell.buttonObj.onclick = function(){ajax_spell.setState('start'); return false; };
198 ajax_spell.buttonObj.title = ajax_spell.txtNoErr;
199 ajax_spell.buttonObj.accessKey = '';
200 ajax_spell.imageObj.src = DOKU_BASE+'lib/plugins/spellcheck/images/spellnoerr.png';
203 ajax_spell.buttonObj.onclick = function(){return false;};
204 ajax_spell.buttonObj.title = ajax_spell.txtRun;
205 ajax_spell.buttonObj.accessKey = '';
206 ajax_spell.imageObj.src = DOKU_BASE+'lib/plugins/spellcheck/images/spellwait.gif';
209 ajax_spell.buttonObj.onclick = function(){ ajax_spell.run(); return false; };
210 ajax_spell.buttonObj.title = ajax_spell.txtStart+' [ALT-K]';
211 ajax_spell.buttonObj.accessKey = 'k';
212 ajax_spell.imageObj.src = DOKU_BASE+'lib/plugins/spellcheck/images/spellcheck.png';
303 ajax_spell.utf8ok = 0;
307 addEvent(document,'click',ajax_spell.docClick);
310 addEvent(ajax_spell.textboxObj,'focus',ajax_spell.setState);
313 ajax_spell.setState('start');
323 if(ajax_spell.timer !== null){
324 window.clearTimeout(ajax_spell.timer);
325 ajax_spell.timer = null;
335 ajax_spell.setState('stop');
338 if(!ajax_spell.utf8ok){
346 ajax_spell.showboxObj.innerHTML = data;
347 ajax_spell.showboxObj.style.width = ajax_spell.textboxObj.style.width;
348 ajax_spell.showboxObj.style.height = ajax_spell.textboxObj.style.height;
349 ajax_spell.textboxObj.style.display = 'none';
350 ajax_spell.showboxObj.style.display = 'block';
355 ajax_spell.textboxObj.disabled = false;
356 ajax_spell.editbarObj.style.visibility = 'visible';
357 ajax_spell.setState('noerr');
371 if(!ajax_spell.utf8ok){
381 ajax_spell.textboxObj.value = data;
382 ajax_spell.textboxObj.disabled = false;
383 ajax_spell.showboxObj.style.display = 'none';
384 ajax_spell.textboxObj.style.display = 'block';
385 ajax_spell.editbarObj.style.visibility = 'visible';
386 ajax_spell.showboxObj.innerHTML = '';
387 ajax_spell.setState('start');
396 if(ajax_spell.timer !== null){
397 window.clearTimeout(ajax_spell.timer);
398 ajax_spell.timer = null;
400 ajax_spell.textboxObj.disabled = false;
401 ajax_spell.showboxObj.style.display = 'none';
402 ajax_spell.textboxObj.style.display = 'block';
403 ajax_spell.editbarObj.style.visibility = 'visible';
404 ajax_spell.showboxObj.innerHTML = '';
405 ajax_spell.setState('start');
419 ajax_spell.setState('run');
420 ajax_spell.textboxObj.disabled = true;
421 ajax_spell.editbarObj.style.visibility = 'hidden';
422 var ajax = new sack(ajax_spell.handler);
426 ajax.runAJAX('call=check&utf8='+ajax_spell.utf8ok+
427 '&data='+encodeURIComponent(ajax_spell.textboxObj.value));
430 this.timer = window.setTimeout(ajax_spell.timedOut,13000);
439 ajax_spell.setState('run');
440 var text = ajax_spell.showboxObj.innerHTML;
442 var ajax = new sack(ajax_spell.handler);
445 ajax.onCompletion = ajax_spell.stop;
446 ajax.runAJAX('call=resume&utf8='+ajax_spell.utf8ok+
454 var ajax_spell = null; variable
458 ajax_spell = new ajax_spell_class();
460 ajax_spell.init(LANG['plugins']['spellcheck']['start'],