From 3381d45ef674884897efddb1c87a0aa2b777214f Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 24 Sep 2006 15:47:48 -0400
Subject: [PATCH] Updated Hungarian,Estonian and Traditional Chinese localization

---
 program/js/googiespell.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/program/js/googiespell.js b/program/js/googiespell.js
index 25f9526..f318e19 100755
--- a/program/js/googiespell.js
+++ b/program/js/googiespell.js
@@ -1035,16 +1035,24 @@
 }
 
 GoogieSpell.prototype.removeIndicator = function(elm) {
-  AJS.removeElement(this.indicator);
+  // modified by roundcube
+  if (window.rcube_webmail_client)
+    rcube_webmail_client.set_busy(false);
+  //AJS.removeElement(this.indicator);
 }
 
 GoogieSpell.prototype.appendIndicator = function(elm) {
+  // modified by roundcube
+  if (window.rcube_webmail_client)
+    rcube_webmail_client.set_busy(true, 'checking');
+/*
   var img = AJS.IMG({'src': this.img_dir + 'indicator.gif', 'style': 'margin-right: 5px;'});
   img.style.width = "16px";
   img.style.height = "16px";
   this.indicator = img;
   img.style.textDecoration = "none";
   AJS.insertBefore(img, elm);
+  */
 }
 
 /****
@@ -1239,6 +1247,8 @@
     me.spellCheck(span_chck);
   }
   AJS.appendChildNodes(this.spell_container, span_chck, " ", this.switch_lan_pic);
+  // modified by roundcube
+  this.check_link = span_chck;
 }
 
 GoogieSpell.prototype.setLanguages = function(lang_dict) {

--
Gitblit v1.9.1