From cd6422ba0773a423e0ee13423c0e1964659cf8bc Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Thu, 18 Sep 2008 07:46:43 -0400
Subject: [PATCH] Do not grab complete focus.

---
 program/js/app.js |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 6ebc556..0aceb30 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -214,12 +214,6 @@
 
         this.set_page_buttons();
 
-        // focus main window
-        if (this.env.framed && window.parent)
-          window.parent.focus();
-        else
-          window.focus();
-
         // init message compose form
         if (this.env.action=='compose')
           this.init_messageform();

--
Gitblit v1.9.1