From 12daf6ddf560625aca14f268994f993782125a81 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 05 Oct 2010 03:16:46 -0400
Subject: [PATCH] - Fix for Konqueror

---
 program/js/editor.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/js/editor.js b/program/js/editor.js
index 85cf68a..d3e587b 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -68,7 +68,7 @@
   if (elem && elem.type=='select-one') {
     rcmail.change_identity(elem);
     // Focus previously focused element
-    if (rcmail.env.compose_focus_elem.id != rcmail.env.composebody)
+    if (rcmail.env.compose_focus_elem && rcmail.env.compose_focus_elem.id != rcmail.env.composebody)
       rcmail.env.compose_focus_elem.focus();
   }
   // set tabIndex and set focus to element that was focused before

--
Gitblit v1.9.1