Bug #8893: Fix logic
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 2 Mar 2010 20:47:27 +0000 (13:47 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 3 Mar 2010 05:38:02 +0000 (22:38 -0700)
imp/lib/Ui/Compose.php

index a02c841..0be880e 100644 (file)
@@ -139,14 +139,14 @@ class IMP_Ui_Compose
 
         if (IMP::getViewMode() == 'imp') {
             $br = '<br />';
-            $id = 'DIMP.SpellChecker';
+            $id = 'IMP';
         } else {
             $br = '';
-            $id = 'IMP.SpellChecker';
+            $id = 'DIMP';
         }
 
         $args = array(
-            'id' => $id,
+            'id' => $id . '.SpellChecker',
             'targetId' => 'composeMessage',
             'triggerId' => 'spellcheck',
             'states' => array(