From 172a95742731f0bb87bdc2e7c5ef8b4120c5f427 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Wed, 25 Jan 2006 21:54:00 +0100
Subject: [PATCH] hide lower toolbar while spellchecking

darcs-hash:20060125205400-7ad00-5cc3ed97d2ca21003f72e09150f9f49149db9e44.gz
---
 lib/scripts/spellcheck.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/scripts/spellcheck.js b/lib/scripts/spellcheck.js
index ceb1cd074..9ce529131 100644
--- a/lib/scripts/spellcheck.js
+++ b/lib/scripts/spellcheck.js
@@ -323,7 +323,6 @@ function ajax_spell_class(){
       ajax_spell.showboxObj.style.width   = ajax_spell.textboxObj.style.width;
       ajax_spell.showboxObj.style.height  = ajax_spell.textboxObj.style.height;
       ajax_spell.textboxObj.style.display = 'none';
-      ajax_spell.editbarObj.style.visibility = 'hidden';
       ajax_spell.showboxObj.style.display = 'block';
     }else{
       if(error == '2'){
@@ -374,6 +373,7 @@ function ajax_spell_class(){
   this.run = function(){
     ajax_spell.setState('run');
     ajax_spell.textboxObj.disabled = true;
+    ajax_spell.editbarObj.style.visibility = 'hidden';
     var ajax = new sack(ajax_spell.handler);
     ajax.AjaxFailedAlert = '';
     ajax.encodeURIString = false;
-- 
GitLab